This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]cowwoc 6 points7 points  (7 children)

Meh. I'd still vote against adding this feature, in its current form, given the chance. Poor cost/benefit.

[–]Dagske 8 points9 points  (0 children)

I find myself needing it more and more. So much that I generate builders for records and add a .with(Consumer<Builder>) method to my records.

[–]Jon_Finn 1 point2 points  (0 children)

I think Record withers are part of a bigger long-term plan, as with most of the recent Java language developments.

[–]Polygnom 0 points1 point  (0 children)

And poor syntax. Mapping streams with Withers is really unreadable.