4 ms·
'assert' is not a keyword. Even if it were, they overrode it with a function that has the exact same signature and general runtime behaviour. Hardly anything to
by tinco 12y ago
'assert' is not a keyword. Even if it were, they overrode it with a function that has the exact same signature and general runtime behaviour. Hardly anything to be surprised about.
Also, invoking the principle of least surprise on a C codebase is just ludicrous.
- unwind 12y agoI didn't say it was a keyword. It's a standard function-like macro (not a function, as I wrote). I would think it just as bad an idea to overload `NULL` with something non-standard. The standard things in the language are something to be learned, and they should remain constant and not change per-project just because someone can do it differently. Do it however you like, but don't clobber the standard names, is all I'm saying.