Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
afiori
on March 13, 2020
|
parent
|
context
|
favorite
| on:
Exceptions should be Exceptional (2016)
that is why in most languages with that approach you have a symmetric error type (Either for Haskell, Result for Rust etc.)
cies
on March 13, 2020
[–]
and in those langs its trivial and very common to make even more elaborate return/result types containing a very precise representation of all possible result categories.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: