Feedback for records: Accessors name() vs. getName()
Brian Goetz
brian.goetz at oracle.com
Thu Aug 27 17:12:07 UTC 2020
Just because there was recent discussion on this, here's a link to the
recent PR for adding records support to Jackson:
https://github.com/FasterXML/jackson-databind/pull/2714/commits/20684d773c09fb09e5c7a013e2479ab1edc43e78
While there's lots of frameworks out there, I think this illustrates
that the cost here is not that high, as long as the package is
maintained (and if it isn't, should you really be using it?) By the
time records are finalized, we expect many of the frameworks will
already support them.
On 8/5/2020 8:51 AM, Kamil Ševeček wrote:
> 5. All libraries will have to be adapted
> ----------------------------------------
> There are a lot of libraries that depend on the get/set convention and you
> would prevent their usage for records. Such as BeanTableModel (swing
> TableModel implementation), Jackson JSON parser and many others.
More information about the amber-dev
mailing list