News for hackers. Stuff that matters.
Re:Python 3.11.0 final is now available by ackfoobar on Thursday October 27, 2022 @05:42PM (#33364423)
Off the top of my head:

Null-safety.

Read-only interface by default - `MutableList` vs `List`.

if-expression, they just look nicer than `a ? b : c`.

---

You're right that Kotlin is not an "abstraction atop Java (the language)". It's meant to be a better Java that feels familar to Java. With that rationale in mind, it's reasonable that they left some features from FP languages out of Kotlin.

As I have said in another reply, it was a great decision to not follow what Scala did with pattern matching.

There are no comments on this comment yet.