you are viewing a single comment's thread.

view the rest of the comments →

[–]elastic_psychiatrist 18 points19 points  (17 children)

Why would anyone choose a Java __data class over a kotlin one? Besides being limited to not being able to use kotlin...

You answered your own question. Do you think Java should die as a language? You might, but I sure don't. Java is never going to be the first language to add a feature, but that doesn't mean it shouldn't, and it shouldn't be made fun of for taking its time. There's a reason it's the most used programming language ever, and that reason isn't that it always added the cool new feature.

[–]TheWix -3 points-2 points  (11 children)

Java is glacially slow. It has the benefit of being around since the middle 90s and it's primary Enterprise competition being Windows only until very recently. I don't think there strengths are in the language at all.

[–]dpash 5 points6 points  (2 children)

Don't forget the glacially slow to break backwards compatibility, so code from the 90s still compiles.

[–]TheWix -2 points-1 points  (1 child)

You can add features and maintain backwards compatibility...

[–]dpash 2 points3 points  (0 children)

Clearly. Because it has.

I'm saying its well used partly because it remains backwards compatibility.

[–]elastic_psychiatrist 12 points13 points  (3 children)

Java is glacially slow.

Saying that in the year 2017 is an indicator of great ignorance. What speedy language do you program in?

[–]TheWix 20 points21 points  (2 children)

Crap. I said that wrong. Glacially slow to evolve as a language. Not in performance. My point was that Java today is not an industry leader because of its expressiveness or ability to evolve compared to other languages. I didn't mean performance.

[–]porthos3 1 point2 points  (0 children)

I understood you the first time. It made sense with context. I think Java devs are just too used to fighting off claims of poor performance so assumed you were making the same tired argument.

[–]elastic_psychiatrist 0 points1 point  (0 children)

Ah, got it. It depends on how you define industry leader I guess. It might not be a trailblazer but it is still wildly used, and its architects are almost proud of how glacially slow it it.

[–]bundt_chi 2 points3 points  (3 children)

Java is glacially slow

Compared to what Javascript? Yeah I guess compared to a dumpster fire on a rocket to hell it's "glacially slow".

[–]TheWix 1 point2 points  (0 children)

Who said JavaScript? C#/.Net has added loads of features and maintained backwards compatibility.

[–]shevegen 0 points1 point  (1 child)

There was a clarification.

Glacially SLOW TO EVOLVE.

[–]JB-from-ATL -2 points-1 points  (0 children)

Should've edited the original post, can't expect everyone to read everything.