Hacker News new | ask | show | jobs
by davelee 565 days ago
Swift calls these precondition() and assert(). Preconditions are enabled in release (and debug) builds, and asserts are enabled in debug builds only.