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

Yes unchecked exceptions are nice. However it would be nice if the compiler could enforce documentation of possible exceptions raised by a method. Something like the throws keyword of Java with unchecked exceptions.

That way you (through the IDE) could know at any point of your code what exceptions could happen (and not have to guess or go through all the called code to identify them).



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

Search: