On 5/1/07, Jon Snader <[EMAIL PROTECTED]> wrote:
Is there anyone (other than a few refugees from Pascal) who believes that C suffers from its lack of a formal boolean type?
i think that's the wrong question. i know plenty of people who believe C suffers from its lack of a formal boolean type, but the correct question for folks like standards bodies (and the peanut gallery here, for whatever we matter) is whether adding it (in any particular form) justifies the cost (in terms of added complexity, architectural mismatch, monetary cost of implementation, or whatever criteria one chooses) of adding it to the standard. personally, i think any advantages of _Bool over the plethora of ad-hoc implementations are not worth the oddities and discongruity that go with this implementation. as i'm not a C compiler implementor and don't generally miss boolean types myself, i'm not going to complain too much.
