3 ms·
Unchecked exceptions work fine. Basic stuff like stream.map(f) is unusable when f throws any checked exception, so the Java world largely stopped declaring them
by erik_seaberg 5y ago
Unchecked exceptions work fine. Basic stuff like stream.map(f) is unusable when f throws any checked exception, so the Java world largely stopped declaring them. I consider it a miss in Java’s generics when lambdas and method refs were added.
- jatone 5y agoI didn't say unchecked exception don't work. I was pushing against the assertion that 'Java is more explicit'; its not since java developers actively work to avoid using the damn feature being mentioned.