Functional Exception Handling in Java with Vavr
Offered By: Devoxx via YouTube
Course Description
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
Related Courses
Play by Play: Developing Microservices and Mobile Apps with JHipsterPluralsight Software Archaeology - Learning from the Landing on the Moon
Devoxx via YouTube Create an Eco-Friendly World with Green Software Engineering
Devoxx via YouTube Platform Building for Data Mesh - Show Me How It Is Done
Devoxx via YouTube The Hitchhiker's Guide to Software Architecture and Design
Devoxx via YouTube