23.11.2011, 08:46
Quote:
|
First off using a macro for that is just bad (as it's already a language feature). Not to mention, it won't work with newlines in-between arguments (macros are single-line only), and every piece of code I'd release would require that macro!
Also, you don't always want the second argument to be sizeof the first one, which would lead to inconsistency and ugly code. In addition to all that, "formatEx" (which is quite poorly named, btw) isn't highlighted as it's not a native function. |
Anyway, it was just a quick thought and that name was just an example. I didn't bother to think of any better name for it, so it could be named whatever - if there would be any use of this to anyone.Also, English is not my native language, so it's a little hard for me to understand, but what do you mean, that macros are single-line only?


