Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

I work in embedded software, and I've sometimes felt mildly reactionary for suggesting that yeah, we can use C99. It's not "new". Really! We have "bool" now, for when things are, you know, Boolean! And we can declare variables where we need them, not in a huge prelude in the function ...


ITYM "revolutionary" - a "reactionary" is basically the opposite (in a shop that uses C89, a reactionary might advocate for switching back to K&R C).


more importantly you can - and should - use int16_t and int32_t.


I know they are C99 but I swear I was using stdint or something like it circa 1996


More useful than bool and mixed-declarations-and-code, in my opinion, are: designated initialisers; compound literals; inline functions; and varargs macros.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: