4 ms·
> A C programmer approaching an unfamiliar codebase can feel assured that it is made out of the same concise set of constructs as any other C program. Plus a s
by Too 10y ago
> A C programmer approaching an unfamiliar codebase can feel assured that it is made out of the same concise set of constructs as any other C program.
Plus a shit load of user defined macros to make it look like a modern language.
Every major c repo will have their own macros for foreach, cleanup on exit, logerrorandreturn, etc. Another example is extensive use of attributes like _cleanup_ from gcc to simulate raii, not plain c89 at all.