10 ms·
This is exactly Java's checked exceptions, which I'd call a failed experiment in language design. The problem is that it makes the most common case (letting th
by brazzy 6y ago
This is exactly Java's checked exceptions, which I'd call a failed experiment in language design.
The problem is that it makes the most common case (letting the exception bubble up) very inconvenient and clutter-y. Signatures with 5 different declared exceptions are worse than useless.