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