Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
usrnm
on May 1, 2024
|
parent
|
context
|
favorite
| on:
Borgo is a statically typed language that compiles...
If they are really exceptional situations that should never happen, just crash the process. The moment recover was added they become just another error handling mechanism
randomdata
on May 1, 2024
[–]
You would crash the process. But, sometimes it's useful to do a little bookkeeping first.
usrnm
on May 2, 2024
|
parent
[–]
That's not how recover is used in practice
randomdata
on May 2, 2024
|
root
|
parent
[–]
Right. In practice, people don't even realize that Go has an exception handling system (see rest of thread) to use.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: