Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Rust, but practically no other mainstream or OO/imperative style language


Swift, kotlin, Java


There 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-...


Ada might be getting pattern matching soon too:

https://github.com/AdaCore/ada-spark-rfcs/blob/master/protot...


also Scala, which I'd take over Java any day




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: