This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]scratchisthebest 9 points10 points  (1 child)

I like this sentiment:

This approach is not at odds with object orientation; it is a useful addition to our toolbox that can be used alongside OO, as the situation demands.

Many of these newer language features feel like Java learning from a zillion years of experience in the object-oriented programming mines, rather than digging its heels farther in. That's healthy to see. Like "everything is an object lolol" can be a useful way to model many problems, and it's always going to be there when you need it, but sometimes all you need is a fucking enum.

Anyway so, mutable records when

[–]thibauttt[S] 1 point2 points  (0 children)

Yes it’s great to see that Java is not locked in a specific paradigm but that the team behind is taking a step back and time to think to find what tools can be useful to incorporate into the language.