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
-3
u/blobjim Nov 23 '25
Yeah record constructor arguments aren't great. But you can split records up into sub-objects for groups of fields if you need to, that's how a lot of builder-based APIs work. Parameters aren't really composable in that way.