Type-Safe States Are Your Friend Using sealed interfaces and type-safe states to make Kotlin code easier to test and reason about. 18 May 2024