[=EruArnold;131539]
For VegasRich:
“I HATE macros. I can’t even count the times that some jack *** used a macro and didn’t add a brace, or some other little bull **** thing and it lead to hours of debugging hell.”
“I work in C#, C++, Lua, Java, or whatever gets the job done fastest. Any language is only as productive as the coder using it - if you’re unproductive then you’re unproductive. Understand: the problem is YOU.”
Given that “debugging” is a major part of programmer-productivity, this makes your 2 arguments logically-inconsistent with each other…
[/]
My point exactly - certain language features harm productivity more than help it. Macros are actually a compiler feature more than a language feature, and in my opinion cause more grief than they are worth and the compiler won’t help you much here. At least with templates you get a better safety net. Use a safer paradigm, spend less time debugging. So, maybe not as inconsistent as you believed?