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

Add exception to the signature, I suppose. At leasy in Java, you can add unchecked exceptions to function signatures.

Checked exceptions are an old idea. Good to see them go away. Just use a “context manager” by passing a callable somewhere.



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

Search: