On 26/04/2025 09:17, Larry Garfield wrote: > * Exceptions are very expensive, the hierarchy is confusing, and handling > them properly is a major pain. Failing to handle them properly is very easy > since you have no way of knowing what exceptions the code you're calling > might throw, or its nested calls, etc. That makes them poorly suited for > mundane, predictable error conditions. I get the point of having checked exceptions, and I suppose it would be nice. Hierarchy: I don't think the hierarchy is that confusing, can you elaborate? Regarding performance however, rather than introducing yet another completely new concept to do almost the same thing, why not try to improve exception performance instead? I just opened a PR that makes instantiating exceptions much much faster, and this is only after like 15 mins of work. I'm sure there's even more to gain.
Kind regards Niels