by jmyeet · 3y ago · 0 comments
Even C++ templates aren't really much better and they're still text replacement.
More modern languages have taken the use cases for .h files and incorporated them without the general purpose text substitution. Like Rust's macros a superior to #define macros. Type aliases (in various langauges) are better than #define uint32 unsigned int.