Hacker News new | ask | show | jobs
by mje__ 4011 days ago
assert() is a macro that is usually disabled in production builds. Input validation is obviously most important in production, so assert() should never be used for validation.