Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
davelee
on Nov 24, 2024
|
parent
|
context
|
favorite
| on:
Rust's Two Kinds of 'Assert' Make for Better Code
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: