3 ms·
Rust, but practically no other mainstream or OO/imperative style language
by shpongled 4y ago
Rust, but practically no other mainstream or OO/imperative style language
- adamwk 4y agoSwift, kotlin, Java
- haspok 4y agoThere is no proper pattern matching / destructuring in either Java or Kotlin. There is a discussion about it in Kotlin, see https://youtrack.jetbrains.com/issue/KT-186/Support-pattern-matching-with-complex-patterns https://youtrack.jetbrains.com/issue/KT-186/Support-pattern-...
- pxc 4y agoalso Scala, which I'd take over Java any day
- docandrew 4y agoAda might be getting pattern matching soon too: https://github.com/AdaCore/ada-spark-rfcs/blob/master/prototyped/rfc-pattern-matching.rst https://github.com/AdaCore/ada-spark-rfcs/blob/master/protot...