|
|
|
|
|
by sgammon
697 days ago
|
|
What do you mean "so big?" Kotlin doesn't feel "big" to me. ` enum class Sample { A, B } val x: Sample = Sample.A val y = when (x) { Sample.A → 0
Sample.B → 1
}` I think if you give it time you might like it. It takes some getting used to, sure, but especially compared with the alternatives (Java to use JVM, Java on Android, etc) it's pretty great. Cross-platform Kotlin is very new but it works surprisingly well. |
|