Author: jordi.kling
-
Failure.kt – A Tiny Stacktrace Library on top of Arrow’s Either
by
Some time ago, I wrote a detailed blog post on how and why to use Arrow’s Either type to model non-exceptional errors as a part of the domain model in Kotlin. In this post, I would like to present my own tiny Kotlin library which is intended to be used in conjunction with Arrow’s Either.…
-

Kotlin’s Type System – Special Types, Generics, Variance, Projections
by
We have a look at some features of Kotlin’s type system: We briefly talk about the special types T?, Unit, Any, Nothing. Then we look into generic types, variance, and projections.
-

-

Handling Errors Functionally with Either – A Detailed Guide
by
We discuss the advantages of the functional approach to error handling using the abstract data type “Either”, as opposed to the classic Exception-based approach. The advantages of the functional paradigm make our code more robust, easier to maintain, and easier to test.

You must be logged in to post a comment.