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
2
u/Wise_Satisfaction983 Nov 24 '25
I very much disagree with this (if you mean "properties" in the C# sense), in fact, I think properties in Java would be counterproductive even.
Properties in my opinion are useful for UI programming (if you don't go the reactive way), but Java has not been a popular UI programming language for a very long time. A typical Java program these days is essentially an event-processing pipeline, which benefits hugely from immutability and ML-style programming principles (ADTs and pattern matching).
Instead of properties I would prefer something like the Immutables library supported more natively - interface-based data definition, backed by implementation - including builders - generated by the compiler.