This one bit me today

ds at hollin.prime.com ds at hollin.prime.com
Tue Oct 17 07:07:00 AEST 1989


I could never get used to the difference between = and ==, so I use "#define
EQ ==" (and "#define NE !=" for symmetry) as part of my standard defines at
the start of every program.  While the lexical distinction remains, it is now
reflected more thoroughly by the difference between punctuation and
alphabetical characters.

David Spector
Prime Computer, Inc.
ds at primerd.prime.com (until the layoff)



More information about the Comp.lang.c mailing list