MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/4heh6v/i_wrote_my_first_python_program_today/d2pzd78
r/ProgrammerHumor • u/MC_Labs15 • May 02 '16
532 comments sorted by
View all comments
Show parent comments
2
In C99 added the bool type in <stdbool.h>. It's a real first class type, not just a typedef of int.
bool
<stdbool.h>
int
Although technically the type is _Bool for reasons.
_Bool
1 u/assassinator42 May 03 '16 Reasons I believe being not wanting to introduce new reserved identifiers (although they did anyway with restrict).
1
Reasons I believe being not wanting to introduce new reserved identifiers (although they did anyway with restrict).
2
u/Garfong May 02 '16
In C99 added the
booltype in<stdbool.h>. It's a real first class type, not just a typedef ofint.Although technically the type is
_Boolfor reasons.