MENU

Fun & Interesting

Functional Error Handling in Kotlin, Nullables and Options

Rock the JVM 3,568 lượt xem 1 year ago
Video Not Working? Fix It Now

blog post: https://blog.rockthejvm.com/functional-error-handling-in-kotlin/
Complete Kotlin course: https://rockthejvm.com/p/kotlin-essentials

This video is a guide to functional programming in Kotlin. We'll first see how the traditional way of dealing with errors in Kotlin is not "functional" from the point of view of referential transparency, with a focus on absent values.

Then we'll explore a few tools in Kotlin and Arrow that will help us deal with the possible absence of values (and subsequent errors this causes) in a functional way using nullables, scoped functions, options and more.

The next video will show you how you can also manage the cause of the errors you see in applications, in a functional way.

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

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

Comment