2021 22:35
> Para: Alberto Otero RodrÃguez
> Cc: [email protected]
> Asunto: Re: Builder pattern for Java records
>
> There is no end to patterns of code that could be generated by tools, and for
> each of them, one can imagine situations where they would be useful.
Cc: [email protected]
Asunto: Re: Builder pattern for Java records
There is no end to patterns of code that could be generated by tools, and for
each of them, one can imagine situations where they would be useful. But in
addition to the other reply about how builders are really
There is no end to patterns of code that could be generated by tools, and for
each of them, one can imagine situations where they would be useful. But in
addition to the other reply about how builders are really only called for when
there are a large number of _optional_ components, the premise
As far as I see, builders are more useful when there are too many arguments
or a lot of them have default values. These needs aren't as significant as
on records where few components are inferred.
In addition, using builders may lead to extra object allocation and
increase distribution size for th