Hacker News new | past | comments | ask | show | jobs | submit login

Huh, I have seen enough catch blocks in Java code at work which are totally empty. How is that better than ignoring error?



Because it's an explicit opt-in, as opposed to accidental opt out. And static checking can warn you about empty catch blocks.




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

Search: