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

19

u/daniu Jan 16 '20

So... record field accessors don't follow the getX() standard that many ubiquitous libraries and tools rely on (Spring and Jackson come to mind)? Nobody started using Java 11 until it was supported by those, I can't see the use of records being any different.

9

u/commentsOnPizza Jan 16 '20

Yep, but being a language built-in will mean libraries will be updated to use it compared to third-party solutions which can be hit-or-miss in terms of library support. It will be a little bit of work, but it’ll be great long-term.