3 ms·
I haven't used Java in a while, but didn't Java require you to declare all exceptions your method will throw? You could ignore those, but similarly you could i
by takeda 5y ago
I haven't used Java in a while, but didn't Java require you to declare all exceptions your method will throw?
You could ignore those, but similarly you could ignore err in Go as well.
- masklinn 5y agoOnly checked exceptions. And the integration of checked exceptions is so bad, and the split between checked and unchecked so arbitrary, that most codebases have sworn off of them.