Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
PhilipRoman
8 months ago
|
parent
|
context
|
favorite
| on:
Rust's Two Kinds of 'Assert' Make for Better Code
You can do it easily in any language with coroutines, for example Lua.
wruza
8 months ago
[–]
You can do it easily in any language with functions and flow control. Restarts and coroutines are just if-errs and CPS-natured code in disguise. The difference is only syntactic, and there are ways to reduce the noise to manageable levels.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: