r/java • • Jun 10 '24

[deleted by user]

[removed]

612 Upvotes

594 comments sorted by

View all comments

Show parent comment

1

u/thefoojoo2 Jun 11 '24

Does it have a better alternative to the builder pattern?

2

u/koflerdavid Jun 11 '24

Generating the builder might be out of scope of a language feature. But JEP 468 will basically provide withers for records.