Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
geodel
on June 17, 2020
|
parent
|
context
|
favorite
| on:
The Next Step for Generics
Huh, I have seen enough catch blocks in Java code at work which are totally empty. How is that better than ignoring error?
apta
on June 17, 2020
[–]
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: