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

> The ANSI style function declaration was maybe the only innovation that came after that that significantly improved the language.

"const" as well (back ported from C++ ?). And being able to declare variables anywhere (instead of just at the beginning of a block)



What about aggregate literals, designated initializer syntax, _Generic, and thread.h?


Variable-argument macros, function prototypes (well, modules would be better…), // comments, stdatomic instead of 'volatile' hacks, _Bool, aligned_alloc, …


I’d add the deprecation of register. Not an innovation but an improvement nonetheless.


Interestingly, the high level language you implement for the nand2tetris course has this constraint, which makes writing the compiler easier


I took that course, too! I loved it. Learned more about computers than any other of the many courses I took.




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: