Having learned (old) C in college and taking a closer look at it lately, I was surprised how much you can make it look “modern”, what with _Generic, wchar_t, booleans and even this __auto_type.
It seems like with a couple #define macros and some discipline you can make it look and behave more ergonomic.
https://gcc.gnu.org/onlinedocs/gcc/Typeof.html
Having learned (old) C in college and taking a closer look at it lately, I was surprised how much you can make it look “modern”, what with _Generic, wchar_t, booleans and even this __auto_type.
It seems like with a couple #define macros and some discipline you can make it look and behave more ergonomic.