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

Swift calls these precondition() and assert(). Preconditions are enabled in release (and debug) builds, and asserts are enabled in debug builds only.


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

Search: