News for hackers. Stuff that matters.
Re:1/0 = 0 by karmakaze on Saturday August 11, 2018 @02:13PM (#17740825)
The mis-categorization of some exceptions[0] as checked or not is part of why checked exceptions seem like a mistake. The other is when exceptions cross boundaries of human organizations like nested libraries.

[0] NumberFormatException is a RuntimeError as are all IllegalArgumentException, WTF?

Re:1/0 = 0 by dllthomas on Monday August 13, 2018 @11:37AM (#17750885)
Another is that well-known attempts at checked exceptions in practice provide an incredibly limited vocabulary for talking about raised exceptions - usually just unconditional "might raise X" or "does not raise X". If you could say things like "raises anything raised by my argument f, except for X because I catch that" it seems like it might be a much better idea (especially if you can infer those...)