|
|
|
|
|
by rualca
2020 days ago
|
|
> TBH the length that C++ goes to replace every single use of the preprocessor "just because" is close to zealotry. This comment is short-sighted. Take for example C++'s use of include guards to use translation units instead of modules to just compile a damn file. No one in their right mind would argue in favour of a preprocessor with #include instead of proper modules if they were to develop a new programming language. Using #define to specify constant values is also absolutely awful. |
|
#define ZERO 1