Comment on Rust's Two Kinds of 'Assert' Make for Better CodeparentComments−PhilipRoman1yYou can do it easily in any language with coroutines, for example Lua.−wruza1yYou 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.
Comments
You can do it easily in any language with coroutines, for example Lua.
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.