Santiago M. Mola wrote:
> Vaeth <[EMAIL PROTECTED]> wrote:
> >
> > [...] The suggestion violates in an extreme way the golden design
> > rule that small changes in effect should require small changes in source.
[...]

> Yes, you're right. That would  be really tedious and stupid... but
> we're lucky, and EAPI-2 introduced the 'default' function. So if you
> need to do a small change not covered by this method, you just define
> the phase, make the little change, and then call the 'default'
> function. Clean and simple.

How does this "little change" look like if you have to call ./autogen.sh
instead of ./configure?  Or if you want to call a second ./configure
in some subdirectory with the same options but one option changed?

These are just some examples, I hope that the point becomes clear:
You simply cannot cover all natural modifications which might be
necessary unless you really can access the commands themselves;
and for this reason it is wise IMHO to have default functions which are
as short as possible (and which are in particular not dealing with
complex implicit array arguments).

Reply via email to