Functional Error Handling & Validation with Cats - Valentin Kasas
Details
Scala at the Sea - Breakfast Edition! Today, we're happy to have Valentin Kasas from France giving a talk on Cats.
Functional Error Handling and Validation with Cats
There is a place where all the fancy abstractions of functional programming really shine: error handling and data validation. During this talk, we will take a whirlwind tour of what the Scala language, supplemented by the cats library, have to offer in that respect:
- Option and Either to expressively represent computation that may fail.
- Validated for checking pre-conditions on our programs' inputs while nicely accumulating all encountered errors.
- Then we will see how the "three musketeers of functional programming," Applicative, Monad, and Traverse (along with Functor as d'Artagnan) can help us handle our errors and validate our data in a simple, expressive, and composable way!
Talk starts bright and early at 9 AM - grab a coffee and join us!
This talk is sponsored by the 47 Degrees Academy.
