2 ms·
I like the human communication aspect of "bool", but dislike the compiler language dependency. The C cultural expectation is that anything named like a predica
by jws 14y ago
I like the human communication aspect of "bool", but dislike the compiler language dependency.
The C cultural expectation is that anything named like a predicate is going to return an int for true or false. In another language with a different culture I would use a Boolean or whatever it had.
- xyzzyz 14y agoEvery modern C compiler (not counting Microsoft one with terribly lame support for C99) supports bool, so there's no compiler dependency.