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

Is that used for application-level errors though? Rust web servers do that too, but it is used a fallback to avoid bringing down the whole server due to an unexpected crash. It is not a mechanism you would use intentionally.


Probably not. I have never used panic / recover in application code at least.


encoding/json uses uses exception handlers for control flow.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: