Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Functional Exception Handling in Java with Vavr

Devoxx via YouTube

Overview

Explore functional exception handling in Java using Vavr in this 28-minute conference talk from Devoxx. Discover how to adapt approaches from functional languages to improve error handling in Java, avoiding the use of "throws" by leveraging Optional, Try, and Either. Learn about type-driven development and its application in creating more aesthetically appealing and efficient exception handling techniques. Gain insights from Grzegorz Piwowarek, a tech lead at Casumo Technologies, as he discusses the costs of exceptions, benchmarks, and practical examples using Scala and Java. Understand how to implement functional error handling concepts to enhance code readability and maintainability in Java projects.

Syllabus

Introduction
Who am I
Topic
Criticism
Functional Programming
Functional Exception Handling
Exception Cost
Nettie Benchmark
Exception Instantiation
Exception Values
Go
Java
Uncle Bob
Faster Feedback
CGI
Rigging
Domains
Java Optionals
Scala
Example
API
Producer
Leveraging
tuples
custom
projection
soundtime
Scala error object
Right and left projection
Scala example
Reminder
Outro

Taught by

Devoxx

Reviews

Start your review of Functional Exception Handling in Java with Vavr

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.