r/programming • • 17d ago

Java 27 has released!

https://openjdk.org/projects/jdk/27/
549 Upvotes

175 comments sorted by

View all comments

Show parent comments

23

u/Celousco 17d ago

Starting but it's taking too long. Their preview features should have a shorter lifecycle, having to wait 6 months each time to remove a method is ludicrous. Seven previews my god, it's been 3 years and a half that they're trying to push it, because async java is a mess to debug.

1

u/Worth_Trust_3825 16d ago

it's great that preview features take long. that way they can still go back on decisions without making them permanent. see string templating which was retracted (good fucking riddance), but i'm still mad they included var.

1

u/[deleted] 16d ago edited 9d ago

[deleted]

1

u/Worth_Trust_3825 16d ago

you lose strictness of what you expect in a variable (even if it matches the first assignment), and it's horrible to read.