[Building Sakai] Lombok Annotations

Matthew Jones jonespm at umich.edu
Tue Sep 7 12:36:33 PDT 2010


Most of the time I'm coding in vim. While it has folding as well, it usually
isn't as easy to deal with as folding in a gui like eclipse. I'll take
anything with less code over more, this is where some language excel over
others. I do believe that the JVM is pretty solid (even with Oracle in
charge now), but the languages that have developed on top of the jvm
(jruby/groovy/scala/jython) and other standalone scripting languages have
really made coding in Java feel like a TON of work.

Especially dealing with things like XML, regular expressions, encryption and
retrieving webpages (URLConnection ugh) just to mention a few. I had a
simple java console app that just needed to retrieve a web page, parse some
XML, send part of it to a library and display the results. Was like 250
lines in java, around 30 in groovy. ;) Trying to get SSL to work seems even
worse, took me forever to get it to work with unsigned certificates. :/

Ah well, it's all fun. I believe the TCC should be thinking about making a
recommendation that Sakai be compiling in Java 1.6 as well as running in
1.6. 1.5 has been EOL for a year, so features like this should be allowed to
be used. If not by 2.8, at *least* by 2.9.

On Tue, Sep 7, 2010 at 3:13 PM, Earle Nietzel <Earle.Nietzel at marist.edu>wrote:

>
> If it's just because you don't like looking at all the code then you can
> use things like folding in eclipse. Also remember that if you had some
> problem in any auto generated code there is another level of complexity that
> has been added. IMHO the door swings both ways so to me it makes sense
> having libraries like lombok since those who choose to use it can and those
> who don't are happy as well.
>
> IMO more annotation's that provide things like Lombok (i.e. JPA, Spring
> annotations, AOP annotations, etc.) the better and less likely-hood we need
> other languages (i.e. scala). Excuse me if it seems like I am picking on
> scala but I think it has done a great job at pointing out areas to make Java
> better, as is the case with lambda support in Java 7.
>
> Earle
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100907/6332f2d0/attachment.html 


More information about the sakai-dev mailing list