[Building Sakai] Java Help - Builder Pattern and Setters

Mark J. Norton markjnorton at earthlink.net
Tue Aug 13 05:22:14 PDT 2013


 >   It seems so powerful.  It seems too easy

Annotations are the black magic of Java.

- Mark

On 8/13/2013 8:11 AM, Charles Severance wrote:
>
> On Aug 12, 2013, at 11:19 PM, Steve Swinsburg 
> <steve.swinsburg at gmail.com <mailto: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
>
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130813/b557e88a/attachment.html 


More information about the sakai-dev mailing list