|
|
|
|
|
by materiallie
330 days ago
|
|
Put another way: errors tend to either be handled "close by" or "far away", but rarely "in the middle". So Java's checked exceptions force you to write verbose and pointless code in all the wrong places (the "in the middle" code that can't handle and doesn't care about the exception). |
|
It doesn't, you can just declare that the function throws these as well, you don't have to handle it directly.