3 ms·
Namespaces. Real enums, modules, etc. A compile-time execution system (effectively replaces the preprocessor/macro system). Syntax that is easier to `grep -r
by packetlost 3y ago
Namespaces.
Real enums, modules, etc.
A compile-time execution system (effectively replaces the preprocessor/macro system).
Syntax that is easier to `grep -r` for without complex regex.
Tests are a first-class citizen.
Safer type system.
Really, just a bunch of things that should've been added to C 20 years ago.
- ngrilly 3y agoIt’s difficult and even probably impossible to just “add” those things to C, while keeping everything else as it is.
- packetlost 3y agoYeah, I know...
- throwawaymaths 3y agoZig is very pedantic about how you're using your pointers and arrays, which c desperately needed.