4 ms·
That's probably the same as the non-assert check EXCEPT that release builds might disable assertions and then you're in trouble.
by dbenamy 17y ago
That's probably the same as the non-assert check EXCEPT that release builds might disable assertions and then you're in trouble.
- basugasubaku 17y agoRight. Plus as a matter of style, assertions are traditionally distinguished from error handling. Assertions are used to catch programmer errors; error handling is for when something happens that is nevertheless within the contract of the library (malloc can return NULL, fopen can return NULL, etc).