1 |
On Sun, 6 May 2012 21:40:42 +0200 |
2 |
Ulrich Mueller <ulm@g.o> wrote: |
3 |
> > It's easy to miss some places that have to be updated when adding a |
4 |
> > new EAPI. This hack fixes that. It works like this: |
5 |
> |
6 |
> > In pms.tex, at the top, we say |
7 |
> |
8 |
> > \CurrentEAPIIs{4} |
9 |
> |
10 |
> > Then everywhere where we have EAPI dependent content, we put |
11 |
> |
12 |
> > \ChangeWhenAddingAnEAPI{4} |
13 |
> |
14 |
> > which we can then grep for. Also, if you change the current EAPI, |
15 |
> > and forget to change any of the markers, an error is produced. |
16 |
> |
17 |
> This looks a bit over-engineered to me. Wouldn't simple comments serve |
18 |
> the same purpose? |
19 |
|
20 |
Comments don't force a failure when you forget about them. Being |
21 |
self-validating makes it hard to screw up accidentally. |
22 |
|
23 |
-- |
24 |
Ciaran McCreesh |