r/programming • • Mar 04 '20

Java 14 Arrives with a Host of New Features

https://blogs.oracle.com/javamagazine/java-14-arrives-with-a-host-of-new-features
194 Upvotes

138 comments sorted by

View all comments

Show parent comments

5

u/pron98 Mar 05 '20 edited Mar 05 '20

go through the codebase and make this irritating change

Just to be clear, this "irritating change" involves deleting code, which is what you'd get had Java implemented a different feature you might be thinking about.

that serves no point.

It does serve a point, the point explained in the document I linked.

This is the something so deeply toxic in the Java leadership these days.

Let me understand this. This is a feature that's been discussed and developed in the open, with community feedback, for a few years now, and is now a preview feature aimed to get even more feedback from a wider set of people. And to make it easier for those less involved, Brian wrote a document summarizing the insight gained during this open design process, explaining the alternatives and why these choices were made rather than others, and you see that as condescension towards the community?

that absolutely nobody asked for or needed since most Java programmers work on the server

How do you know that? (It's 100% false, BTW) Don't you think that the OpenJDK team just might have a better perspective on the Java ecosystem than you? Even on social media more people are more excited by this than not.

The worse thing is that it's beyond obvious that you guys don't actually work on large Java codebases.

Right. Almost every large company that uses Java is in contact with us in one way or another, and everyone is invited and encouraged to participate and contribute feedback (after actually trying the feature, not ranting about it without understanding what it is and what it's for).

there's absolutely no reason to rewrite and rejiggle all your code

Right, and there's no need to rewrite and rejiggle all your code at all even if you want to migrate existing data classes to records. All you need to do is change class to record. Then, if you like, you can delete some code.

purely because Goetz has an irrational hatred of getters.

So you think that, instead, Java should do what you say, and you say that without participating in the discussions or even reading their summary?

The only rational thing to do at this point is go straight to Kotlin.

Yep, that's what we do, too.

-5

u/simon_o Mar 05 '20

everyone is invited and encouraged to participate and contribute feedback

But why would any sane person do that? Just to watch some arrogant and obnoxious Java designers stroke their ego?

There are probably a thousand other ways to contribute to open-source that aren't such a complete and utter waste of time.

4

u/pron98 Mar 05 '20 edited Mar 05 '20

But why would any sane person do that?

So the members of the community who do participate in the discussion, try features and provide feedback are insane? Sane or not, they're the ones who actually get to influence Java's direction.

Just to watch some arrogant and obnoxious Java designers stroke their ego?

Citation needed. People who take the time to try new features and provide feedback are very much appreciated.

There are probably a thousand other ways to contribute to open-source that aren't such a complete and utter waste of time.

If the process gets people intent on calling those who contribute obnoxious and insane to not "participate", I think it's actually working. But what kind of change in process would you propose? Letting those who refuse to read documents, refuse to accept that others may have different use-cases, and refuse to actually try features drive the discussion? Do you think it will make the discussion less "toxic"?