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

4,878 views · Published 17 July 2018 · 41:12 · Indexed 23 September 2026

Channel: Devoxx · 2018 · Film & Animation

Watch on YouTube

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

More from this channel