A Hitchhiker's Guide to the Functional Exception Handling in Java


java Java Language

Besides being criticized for disrupting the control flow, exception handling in Java is often considered cumbersome and not very aesthetically appealing.

In this session, we’ll have a look at how functional languages deal with error handling, what can we learn from them and how to adapt those solutions in the world of Java.

Simply put, we'll see how can we avoid “throws” and "try-catch" by leveraging type-driven-development (Optional, Try, Either).

Grzegorz Piwowarek Grzegorz Piwowarek

Senior Software Developer | Musician | Professional Yoyo Player