3 ms·
Linus is usually dead-on in language matters. bool as a type in C strikes me as dubious. In C, you need to care about the underlying representation of things.
by mtdewcmu 13y ago
Linus is usually dead-on in language matters.
bool as a type in C strikes me as dubious. In C, you need to care about the underlying representation of things. I'm not even sure it was a good idea to call a char a char, because it's actually a small integer. Calling it a char is just misleading; it's signed, and a literal character is not even a char. It's a source of bugs. "bool" sounds potentially worse.