Hacker News new | ask | show | jobs
by MHordecki 2024 days ago
Java got them in the most recent version 15: https://openjdk.java.net/jeps/378
1 comments

This took them way too long for how easy it is to add and how many headaches it would prevent.
They don't want to bloat language with million of rarely used syntax and hard to read features, just as Go devs do. Not to repeat the failure of Scala (and I'm afraid Rust goes the same way).