Larry Garfield
fun doThing(...): Either<String, Boolean> { ... } when (val result = doThing(...)) { is Either.Left -> do error stuff is Either.Right -> Do different thing depending on if the bool was true or false. }
A modern programming language that makes developers happier.