On Thu, Jul 20, 2000 at 04:59:52PM +0000, sho_pi@hotmail.com wrote:
> generated code inlines certain things, for instance - for a segmented
> architecture or a debug build, the tokenizer could split into separate
> functions, but for a PC or server build, the various functions could
> actually all be inlined) and help trim down the forest of #ifdefs and macros
> as well.
Yah. Perl5 has been drifting this way for a while already. I just
propose to factor it better. CPP riddled code is hard to maintain.
Even so, I think CPP is adding a level of indirection between the
correct conceptual places. Note that some of Sarathy's work towards 5.6
involved inventing and regularizing CPP macro patterns.
--
Never ascribe to malice that which can be explained by stupidity.
(via, but not speaking for Deutsche Bank)