We really like the idea of the builder pattern, though there are a lot
of options. Do we want to support getters on the builders, do we want
support Lists out of the box (supporting an 'add' construction to the
List), do we want the annotation to be on a separate class or do we
put it on the class itself, do we want to support default values....
and the list goes on.
but, like we said it's a good idea but we want the time to finalize a
proposal, and that's not going to happen before we get the 0.10
release out of the door. We'll let you know when we have a better
sense of directions within the jungle that is Builder.
On Jan 31, 7:21 pm, "Brian R. Jackson" <
br...@jaxzin.com> wrote:
> I see there is a thread from 2009 that seems to broach the subject of
> Bloch's Builder pattern but I wanted to bring it up again since its
> code I rewrite frequently. Here is a description of the pattern:
>
>
http://rwhansen.blogspot.com/2007/07/theres-builder-pattern-that-josh...
>
> Here is an interesting library I just found that tries to simplify the
> boilerplate code of the pattern:
http://garbagecollected.org/2007/07/12/builder-pattern-deluxe/
>
> Before reading the thread from 2009 I envisioned that choosing this
> feature would be a new boolean value on @Data like @Data(buildable =
> true)
>
> The thread I'm referring to is here:
http://groups.google.com/group/project-lombok/browse_thread/thread/90...