Y
Hacker News
new
|
ask
|
show
|
jobs
by
geodel
2196 days ago
Huh, I have seen enough catch blocks in Java code at work which are totally empty. How is that better than ignoring error?
1 comments
apta
2196 days ago
Because it's an explicit opt-in, as opposed to accidental opt out. And static checking can warn you about empty catch blocks.
link