Fabio Busatto wrote:
> Ok, so djb is a novice programmer in your opinion, he used #ifdef in
> his code to
> check for external conditions and compile a piece of code or not.
Without having scrutinized djb's code I would think that the impact of using
#ifdef to check for some external conditions is limited (and of more use) as
compared to having to consider any combination of an arbitrary number of
patches and how they would correlate or conflict. The use of #ifdefs could
skyrocket, as could the problems involved maintaining the patch system, or
even read the code, as the number of patches grow.
Why not simply choose some common scenarios and then make a couple of
bundled patches that contain the patches needed? That is, given that - for
some reason - netqmail doesn't suffice and maybe that odd patch.
Peter
|