4 ms·
every java team i've worked with handles their exceptions by making them runtime exceptions to bypassing the very thing you're pro-porting.
by jatone 4y 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.
- erik_seaberg 4y agoUnchecked 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 4y 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.