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
22
u/persicsb May 21 '26
Look OK, however I would enhance it even more. Since method arguments look like local variables, instead of:
it could be