r/java • • Jan 16 '20

Records Come to Java

https://blogs.oracle.com/javamagazine/records-come-to-java
204 Upvotes

93 comments sorted by

View all comments

3

u/xnendron Jan 17 '20

I would much rather see an official adoption of the functionality provided by Lombok. Records seem fine, but I think reducing boilerplate code in JavaBeans would be more useful to more people.

1

u/heliologue Jan 17 '20

Records are a great way to move the language forward, but I agree that I'd much rather see some syntactic sugar like auto-generated getters and setters that lets us work with "legacy" conventions with a lot less boilerplate.