[comp.std.c] Why doesn't C have a boolean type?

aipdc@castle.ed.ac.uk (Paul D. Crowley) (05/27/90)

Yeah, I agree.  Some might think me mad, but my code includes lines like

if(c!='\0')

Makes it more obvious what you're trying to do.  And I _trust_ that any
half-decent optimiser will produce code that is no less efficient.
-- 
\/ o\ Paul Crowley aipdc@uk.ac.ed.castle
/\__/ "Trust me, I know what I'm doing" - Sledge Hammer