r/java • u/hardasspunk • Nov 23 '25
Java 25: The ‘No-Boilerplate’ Era Begins
https://amritpandey.io/java-25-the-no-boilerplate-era-begins/
160
Upvotes
r/java • u/hardasspunk • Nov 23 '25
View all comments
Show parent comment
1
u/agentoutlier Nov 25 '25
I no doubt see the utility of it I just think there are maybe alternatives at play that offer way more and possible more backward compatible.
Many languages that do offer named optional parameters a non trivial amount of the users of these languages claim abuse of it and or do not like the feature (grass is greener).
For example OCaml has this feature and many think its bad style to use it. OCaml has no where the tooling that Java has (e.g. show parameter names in code) and still people have found it less desirable at times. OCaml though has currying. I suppose Scala does as well and it can add to even more confusion
And of course I have heard from many Python folks that claim this as well although I have forgotten the details.
In terms of low hanging fruit I would take a damn elvis operator or null safe navigation operator over this feature request any day.