We're a place where coders share, stay up-to-date and grow their careers.
I share your hatred of checked exceptions but due to backwards compatibility Oracle can't really change that.
What I think they should have done instead is write functional interfaces that handle checked exceptions.
There is a third party oss library that does this and you might want to check out. It's called vavr.io
I've heard about vavr, it's worth a look.
I share your hatred of checked exceptions but due to backwards compatibility Oracle can't really change that.
What I think they should have done instead is write functional interfaces that handle checked exceptions.
There is a third party oss library that does this and you might want to check out. It's called vavr.io
I've heard about vavr, it's worth a look.