2 ms·
Adding it to the language saves us all the work of typedefing it. Which is a very common practice. C's approach to typing is, in general, pretty weak. Mostly t
by fusiongyro 14y ago
Adding it to the language saves us all the work of typedefing it. Which is a very common practice.
C's approach to typing is, in general, pretty weak. Mostly they're there so the compiler can decide how much space to set aside. There's no point singling out this particular instance of nonsense when everywhere you turn in C you're greeted by other forms of the same nonsense. There's no point being pedantic about bool if you're not going to be pedantic about all the other types.
Enough bikeshedding. Use it or don't.
- zvrba 14y ago> There's no point singling out this particular instance of nonsense when everywhere you turn in C you're greeted by other forms of the same nonsense. By your reasoning, since nonsense already exists, it's pointless to try to do the right thing. And they could have done it.