2 ms·
A macro is a metal-level abstraction. So proper macros require proper metaprogramming support. And, I would argue, the other way around.
by choeger 8y ago
A macro is a metal-level abstraction. So proper macros require proper metaprogramming support. And, I would argue, the other way around.
- adev_ 8y agoAnd I would argue that a Macro is external language put on top of your language as a patch (hack), when your language is not expressive enough for genericity. Then yes, there is nothing as "proper" Macro. There is just an attempt to fix a limited language in the first place. And it is something that C++ arrived to solve ( not that badly ) currently.