abuse of #define
Dick Grune
dick at tjalk.UUCP
Tue Sep 24 23:08:21 AEST 1985
In article <206 at sei.cmu.edu.ARPA> dlc at sei.cmu.edu.ARPA (Daryl Clevenger) writes:
>I also think that things like :
>
>#define cylce for(;;) {
>
>and others are confusing. Not only as was previously pointed out can
>unforseen errors creep in, but understanding and modifying code is a pain.
On top of that it plays havox with cross referencers, beautifiers, or
any other programs that processes C text (and many cannot run the
preprocessor first, if they want to work on the optical text).
I think #define should be used for defining small modifications, and
fortunately most people seem to agree (but not everybody, judging from
the text of sh).
Dick Grune
Vrije Universiteit
de Boelelaan 1081
1081 HV Amsterdam
the Netherlands
More information about the Comp.lang.c
mailing list