Re:Rating 26 years of Java changes
by gbear605 on Sunday October 12, 2025 @04:46PM
(#45561745)
> Since checked exceptions are very often thrown by code that has side effects, I'd consider the friction to be a feature.
This is true, but I think that it’s partly true because checked exceptions are cumbersome here. In my ideal world, the majority of functions would throw exceptions, testing cases that today are either missed or thrown as unchecked exceptions.
This is true, but I think that it’s partly true because checked exceptions are cumbersome here. In my ideal world, the majority of functions would throw exceptions, testing cases that today are either missed or thrown as unchecked exceptions.