24 ms·
This. I love my macros, even if many of them end up being replaced by code, and some of them only patch up shortcomings in the language. There will always be s
by jstimpfle 5y ago
This. I love my macros, even if many of them end up being replaced by code, and some of them only patch up shortcomings in the language.
There will always be shortcomings in any language, and there will always be situations that need to be fixed with a quick hack, even though that is not a long term solution.
And in almost any project I have a few lines of macro magic that almost completely fixes situations where I would otherwise have to resort to terribly complicated C++ templates and slow compile times.