3 ms·
Macros were one of the biggest mistakes that C allowed, along with the undefined behavior. Not allowing macros means a more standardized reference implementati
by wheelerof4te 5y ago
Macros were one of the biggest mistakes that C allowed, along with the undefined behavior.
Not allowing macros means a more standardized reference implementation, which translates to a more readable code overall.
- nine_k 5y agoSimple textual substitution macros are indeed pain. Nicer, AST-level macros can be better, but can also be a pain (see Lisp, C++ for examples of either).