Re:Software development topics I've changed my mind on after...
by specialist on Wednesday February 05, 2025 @09:41PM
(#42958363)
Anti checked exception sentiment is the result of cognitive dissonance from the use of flow-of-control obfuscation frameworks.
IoC, DI, aspects, annotations, ORMs, whatever Spring is, runtime code generation, etc.
The rationale is something like "runtime metaprogramming would be really terrific, were it not for all those pesky checked exceptions".
Additionally, the way result types work, isn't much different, from type system theory point of view.
I really miss them in .NET projects, because no one reads method documentation, or bothers to have catch all clauses, and then little fellow crashes in production.