Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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


You would crash the process. But, sometimes it's useful to do a little bookkeeping first.


That's not how recover is used in practice


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: