top | item 31104063

(no title)

jatone | 3 years ago

every java team i've worked with handles their exceptions by making them runtime exceptions to bypassing the very thing you're pro-porting.

discuss

order

erik_seaberg|3 years 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|3 years ago

I 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.