Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
usrnm
· 2y ago · 0 comments
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
Comments
[–]
randomdata
2y ago
You would crash the process. But, sometimes it's useful to do a little bookkeeping first.
[–]
usrnm
OP
2y ago
That's not how recover is used in practice
[–]
randomdata
2y ago
Right. In practice, people don't even realize that Go has an exception handling system (see rest of thread) to use.