News for hackers. Stuff that matters.
Re:Checked exceptions: Java’s biggest mistake (2014) by 0xffff2 on Friday September 11, 2020 @03:11PM (#24446279)
>What's your alternative? Using return values? But then you are doing the bubbling, manually.

Huh? The alternative is unchecked exceptions, which are already present in Java and therefore have to be accounted for anyway.

Removing checked exceptions from Java would greatly simplify the APIs that use them, with absolutely zero cost.

There are no comments on this comment yet.