September 2023
Intermediate to advanced
470 pages
11h 12m
English
“I can’t rely on my memories.”
In this chapter, we’ll face some of the most powerful concepts of functional programming, which include advanced types of functors and using monads to combine them together.
We’ll also learn about PostgreSQL and how to use it effectively in Kotlin with the Exposed library, also learning how to adapt an object-oriented library for functional code to use.
Finally, we’ll explore how to make our event storage persistent using an external database without losing our functional perspective. Monads will allow us to keep the code composable and still be sure of not forgetting to commit or rollback a connection or, even worse, leak it out.
Read now
Unlock full access