3 ms·
Unless things have changed really recently, Kotlin does not have pattern matching, which definitely disqualifies it from being an ML-alike. https://youtrack.je
by kod 9y ago
Unless things have changed really recently, Kotlin does not have pattern matching, which definitely disqualifies it from being an ML-alike.
https://youtrack.jetbrains.com/issue/KT-20004#tab=Comments https://youtrack.jetbrains.com/issue/KT-20004#tab=Comments
https://discuss.kotlinlang.org/t/destructuring-in-when/2391/7 https://discuss.kotlinlang.org/t/destructuring-in-when/2391/...
It's especially disappointing that the supposed reason was it was "too complex"