3 ms·
This looks like a backport of Kotlin's `when` expression.
by joe_fishfish 9y ago
This looks like a backport of Kotlin's `when` expression.
- dtech 9y agoIs that a bad thing? Also it's much more similar to Scala's "match" expression, which is also on the JVM and predates Kotlin by about 7 years.