Path: utzoo!attcan!uunet!mcsun!ukc!edcastle!aipdc From: aipdc@castle.ed.ac.uk (Paul D. Crowley) Newsgroups: comp.std.c Subject: Why doesn't C have a boolean type? Message-ID: <4253@castle.ed.ac.uk> Date: 27 May 90 14:16:23 GMT References: <12986@smoke.BRL.MIL> <5907@buengc.BU.EDU> <4232@castle.ed.ac.uk> <13003@smoke.BRL.MIL> Reply-To: aipdc@castle.ed.ac.uk (Paul D. Crowley) Organization: Edinburgh University Computing Service Lines: 9 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