When do you use "if ( a = b )"? (was Re: Funny mistake)
Richard Tobin
richard at aiai.ed.ac.uk
Wed Mar 27 04:06:46 AEST 1991
In article <1991Mar21.213027.24314 at mathrt0.math.chalmers.se> d9erikb at dtek.chalmers.se (Erik Bergersjo) writes:
>Besides, I think "if(a = b)" is more readable. It's clearly one of those
>extra features / pecularities that make C the special language it is!
It's hardly a peculiarity of C. It's just part of C's rather limited
attempt to be an expression language.
-- Richard
--
Richard Tobin, JANET: R.Tobin at uk.ac.ed
AI Applications Institute, ARPA: R.Tobin%uk.ac.ed at nsfnet-relay.ac.uk
Edinburgh University. UUCP: ...!ukc!ed.ac.uk!R.Tobin
More information about the Comp.lang.c
mailing list