Idiomatic Error Handling in Scala | Rock the JVM

Опубликовано: 08 Январь 2025
на канале: Rock the JVM
9,245
294

Written version: https://blog.rockthejvm.com/idiomatic...

Scala & Cats course: https://rockthejvm.com/p/cats

YouTube videos on topics related to Cats:
Functors:    • What the Functor? | Functors in Scala...  
Type classes:    • Why are Type Classes useful in Scala?...  
Scala 3 Given/Using:    • Given and Using Clauses in Scala 3 | ...  
Monads intro:    • A Monads Approach for Beginners, in S...  

This is a video primarily for Scala folks, but it transfers to other languages e.g. Java, TypeScript, C++ or other typed languages.

In this video we'll explore various ways of handling errors in Scala, from the simplest and most straightforward, to the more complex and more powerful. We'll look at the try/catch structure that we can also find in Java, then we'll distance ourselves with Try, Either, and finally Validated from the Scala Cats library, discussing the pros and cons for each.

Follow Rock the JVM on:
LinkedIn:   / rockthejvm  
Twitter:   / rockthejvm  
Blog: https://rockthejvm.com/blog

-------------------------------------------------------------------------
Home: https://rockthejvm.com
-------------------------------------------------------------------------