3 ms·
Java has made some big strides here to catch up with the functional and data-oriented features other languages are all adding. I was pretty surprised and impre
by tkcranny 2y ago
Java has made some big strides here to catch up with the functional and data-oriented features other languages are all adding.
I was pretty surprised and impressed to see a modern example lately. There’s Record data types, stronger type inference with `var`, pretty great structural pattern matching, switch expressions (that return a value), stream apis for map, filter, and reduce etc. All of these move it further away from strictly OOP.
And separate but still cool is a pretty neat virtual thread system too. Java has definitely had a bit of a glow up since I learned it in uni.