1 min readJun 11, 2020
The reasons to include kotlin.Result are spelled out in its design document:
https://github.com/Kotlin/KEEP/blob/master/proposals/stdlib/result.md
TL;DR: kotlin.Result is not designed a a general-purpose replacement for domain-specific types. I do believe they should be domain-specific, named and used clearly according the appropriate domain.