Re:New Features in Java 14
by on_and_off on Tuesday March 03, 2020 @10:41PM
(#22481035)
kotlin has this too .. but java does not have named params.
It would be a good addition imo (think Rect(left, top, ....) , especially associated with default params.
Alternatively, they could automatically generate a builder class for records.
As always in java, I guess that somebody will duct tape an annotation based solution on top of the language to solve this.
Alternatively, they could automatically generate a builder class for records.
As always in java, I guess that somebody will duct tape an annotation based solution on top of the language to solve this.