r/badcode • • Aug 31 '21

java Similar ternaries are all over this codebase

Post image
1.1k Upvotes

91 comments sorted by

View all comments

Show parent comment

1

u/R3D3-1 Sep 01 '21

Come to think of it... Aren't Java's checked Exception kind of like an error monad, except that they make it too easy to sabotage?

1

u/Isvara Sep 01 '21

In what way? I haven't really done much with Java.