News for hackers. Stuff that matters.
Re:Java’s Cultural Problem by grumpyprole on Monday September 19, 2022 @07:05AM (#32896732)
It's not about just being more expressive. See the Brian Goetz quote. A more "functional style of programming", this means less mutation, more pure functions, e.g. Java's proposed records are immutable.
Re:Java’s Cultural Problem by samus on Monday September 19, 2022 @08:37AM (#32897511)
Minor nitpick: Records have been delivered in Java 16. Java 19 will also include the first preview for Record Patterns.
Re:Java’s Cultural Problem by PaulHoule on Monday September 19, 2022 @09:31AM (#32898053)
In general Java has picked up many features of the ML family of languages such as pattern matching, sealed classes, etc. It is so much fun to write compilers in Java using this stuff.

I code a lot of Python also, and I've been pleased to see pattern matching adding to Python by a process that seemed very similar to that in Java, that is, in both cases the feature was developed gradually with a lot of care to make sure it works well with the rest of the language.