Posts tagged "railway-oriented-programming"

Refactoring if-else: Either and FlatMap

Advanced guide to Railway Oriented Programming using Kotlin and Arrow-kt library, explaining Either monad, FlatMap, and Fold operators to refactor conditional code.

Railway Oriented Programming

Step-by-step guide to refactoring procedural code to Railway Oriented Programming in Kotlin, focusing on the happy path while maintaining robust error handling.