[Building Sakai] Java Help - Builder Pattern and Setters

Charles Severance csev at umich.edu
Tue Aug 13 05:11:28 PDT 2013


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/72c641f3/attachment.html 


More information about the sakai-dev mailing list