On Wed, 02 May 2012 13:27:57 +0200, Ricky Clarkson <[email protected]> wrote:

Annotation processors - too much like magic.  Scala's DSLs are written in
the language and don't require anything other than a library.  You don't

I've said that Java is clearly rougher in this than e.g. Scala, but it does work, and doesn't require more than a library (e.g. lombok.jar). Scala has been designed from the ground up to support inner DSL and we can't really ask Java for doing the same job.

have to worry about two DSLs conflicting with each other (ignoring implicit conflicts for a moment) and they don't make classloading or compilation any
more difficult.

I'm not aware that Lombok, e.g., creates problem with classloading. I'm using it everywhere, including the NetBeans Platform (which does heavy use of classloaders) and Android and it just works. I've only had a problem when using it together AspectJ static weaving, but it was more a problem with the AspectJ Maven plugin that missed an option that makes the two technologies live happily together.



--
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
[email protected]
http://tidalwave.it - http://fabriziogiudici.it

--
You received this message because you are subscribed to the Google Groups "The Java 
Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to