typedefs, etc.
tim at unc.UUCP
tim at unc.UUCP
Sat Dec 31 08:24:58 AEST 1983
Indeed, you could make a case that the conditional form
if ( a == b ) return( TRUE );
else return( FALSE );
is the hacky one, and not
return( a == b );
The idea of a Boolean expression is a part of all procedural languages I'm
familiar with, including C, Pascal, and so on. If the programmer can't
understand the idea of a Boolean expression yielding a Boolean value, that's
his blind spot, and it will lead to inferior code.
--
Tim Maroney, University of North Carolina at Chapel Hill
duke!unc!tim (USENET), tim.unc at csnet-relay (ARPA)
More information about the Comp.lang.c
mailing list