Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I wouldn't really characterize it that way. You (ideally) shouldn't be hitting code paths in production that you didn't ever hit in testing.

But, in any case, if you are fine with the slight performance hit (though many C/C++ projects are not), you can always just keep assertions enabled in production.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: