Designing a Kotlin Result Type29 Aug 2017
I’m going out a limb a bit here, preaching beyond my comfort zone if you will. The reason for my discomfort is that I’m a bit of a wannabe functional programmer - I can’t even read Haskell - and I’m about to take a stand on a monad.
I was going to start this post with an examination of error handling in functional systems, but that is a whole blog post in itself. For now I’ll just observe that you don’t need to program in a mixed OO / FP style for long before you run into the problem with exceptions, and that a Result type is the . I was going to start this po