Re:Java's records, Lombok's data, and Kotlin's data classes
by papercrane on Friday May 07, 2021 @04:01PM
(#27080267)
> I'm not sure what it's taking about for the "with" feature: ...
The author is referencing possible future work that can build on the current records implementation, and the work Brian Goetz is doing with pattern matching and record deconstruction. Goetz has put together a draft that shows how these could be combined.
The author is referencing possible future work that can build on the current records implementation, and the work Brian Goetz is doing with pattern matching and record deconstruction. Goetz has put together a draft that shows how these could be combined.
https://github.com/openjdk/amber-docs/blob/master/eg-drafts/...