تويتر \ Android Developers على تويتر: "A switch statement with superpowers? Kotlin's `when` expression can match on just about anything. Literal values, enums, ranges of numbers. You can even call arbitrary functions!
Kotlin vs Java: reasons to switch from Java to Kotlin today | by Sinch | Sinch Blog | Medium