[Building Sakai] Java Help - Builder Pattern and Setters

Steve Swinsburg steve.swinsburg at gmail.com
Tue Aug 13 05:23:24 PDT 2013


It is too easy. Its built for people who love sexy code. You love sexy
code, right? I have already polluted (read: made sexy) a good chunk of
Sakai with it ;)


On Tue, Aug 13, 2013 at 10:11 PM, Charles Severance <csev at umich.edu> wrote:

>
> On Aug 12, 2013, at 11:19 PM, Steve Swinsburg <steve.swinsburg at gmail.com>
> wrote:
>
> Hi Chuck,
>
> I'd encourage you to look at the Lombok annotations to make the code
> neater (ie eliminating all getters and setters). Specifically for this
> pattern you may be able to use:
> http://projectlombok.org/features/experimental/Builder.html
>
> There is a video on the lombok site that might twist your arm as to its
> appeal.
>
> cheers,
> Steve
>
>
> I have watched that video many times with interest.  I love Lombok - but
> don't exactly know why I am not ready to go to the dark side in my own
> code.  It seems so powerful.  It seems too easy :)
>
> /Chuck
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130813/8cb5249e/attachment.html 


More information about the sakai-dev mailing list