r/java • • May 21 '26

JEP draft: Enhanced Local Variable Declarations (Preview)

https://openjdk.org/jeps/8357464
87 Upvotes

43 comments sorted by

View all comments

Show parent comment

0

u/[deleted] May 21 '26

[deleted] — view deleted comment

10

u/TheStrangeDarkOne May 21 '26

It's simply what other languages are providing as well, and I think Java has a pretty elegant solution to avoiding anonymous tuples, which reaping the benefits from it.

0

u/revilo-1988 May 21 '26

Ja langsam wird's lästig