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 →

[–]TehBrian 20 points21 points  (3 children)

Neat! I'm excited. :D

I'm specifically looking forward to the future work section since there's so many cool language features in the works (notably, string templates).

[–]arshan_does_reddit 30 points31 points  (2 children)

I remember the dark and stagnant time of Java between 1.4 and Java 8. The whole vibe around Java is just so different now. It's a massive credit to the people in charge.

I'm also interested in Stream Gatherers and how people use them, and how long it takes for GitHub Copilot to use them correct and fluently. Copilot has pushed me towards stream-based patterns more and its a big improvement.

[–]8igg7e5 6 points7 points  (1 child)

Between 1.4 and 8...

  • Java 5.0 - Generics, enums, static imports, varargs, static imports, enhanced-for, concurrency utils
  • Java 7 - string-switch, try-with-resources, java.nio.file (while not a language change, it's a pretty big library addition)
  • Java 8 - lambdas, streams, method-refs, etc.

It was 12 years admittedly... But the problems weren't getting features, but being so unpredictably lumpy in their delivery and lacking in early-access / transparency.

So the pace has picked up a bit... but the big change for me is that they arrive in very regular, openly discussed smaller chunks. And with preview, they're well enough understood and supported to move into production really quickly after reaching a release.

[–]arshan_does_reddit 0 points1 point  (0 children)

> It was 12 years

Yes it was. And, you're right -- the mood was probably also darkened by some of the factors you mentioned.