if (X) <==> if (X != 0) (enums)

Eugene D. Brooks III brooks at lll-crg.UUCP
Sat Sep 28 10:34:09 AEST 1985


If you are using enums in such a way that changing the values that the various
items {apples, oranges, pears} have then you deserve the SERIOUS trouble that
you will eventually get into.

Just because the compiler allows it, even an ANSI standard compiler, is not
justification for doing it!



More information about the Comp.lang.c mailing list