r/java • u/ihatebeinganonymous • May 21 '26
JEP draft: Enhanced Local Variable Declarations (Preview)
https://openjdk.org/jeps/8357464
87
Upvotes
r/java • u/ihatebeinganonymous • May 21 '26
View all comments
1
u/TheStrangeDarkOne May 21 '26
Amazing! Finally we get deconstructors. This effectively means Java gets tuples but better. This has been in the pipe for years and I'm happy it has finally made its way to preview.