Grzegorz Piwowarek | Devoxx

Grzegorz Piwowarek
Grzegorz Piwowarek Twitter

From Casumo

Senior Software Developer | Musician | Yoyo Player


java Java Language

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


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 approach 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).