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

994 views · Published 12 March 2018 · 38:03 · Indexed 8 November 2026

Channel: Devoxx · 2018 · Science & Technology

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

More from this channel