for(;;) vs. while(1) is a bore

jwe jwe at ut-emx.UUCP
Fri Jun 1 19:46:31 AEST 1990


In article <358 at necssd.NEC.COM> harrison at necssd.NEC.COM (Mark Harrison) writes:

> Then how about:
> #define EVER (;;)
> for EVER
> (Many :-)

Or, how about:

#define TRUE 29  /* because it's my favorite lucky (nonzero) number */
while (TRUE)

Does this mean we can turn our flames back toward the real issues of
standard C, such as whether or not it's a good idea to define macros
for TRUE and FALSE?

--
John "I'll bet I'm not the only one that posts useless stuff here" Eaton
jwe at emx.utexas.edu
Department of Chemical Engineering
The University of Texas at Austin
Austin, Texas  78712
-- 
John Eaton
jwe at emx.utexas.edu
Department of Chemical Engineering
The University of Texas at Austin
Austin, Texas  78712



More information about the Comp.std.c mailing list