You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this how we want to handle errors?
What about throwing errors?
Would it be better to do something more along the lines of Result<T, E>?
We probably at least want something along the lines of panic from Rust/Go to handle truly exceptional states such as running out of memory?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
In my original attempt to write the compiler, I included syntax for expressions of the form:
Is this how we want to handle errors?
What about throwing errors?
Would it be better to do something more along the lines of
Result<T, E>?We probably at least want something along the lines of
panicfrom Rust/Go to handle truly exceptional states such as running out of memory?Beta Was this translation helpful? Give feedback.
All reactions