On Aug 13, 2:03 pm, Reinier Zwitserloot <[email protected]> wrote:
> About project lombok, in reply to:
>
> On Aug 13, 7:50 pm, Charles Oliver Nutter <[email protected]> wrote:
>
> > Project Lombok seems to be mostly a set of annotations for common Java
> > patterns, rather than a new language. What I'd like to see is someone
> > take javac, hack all the missing features into it, and call it
> > something new.
>
> Annotations for now because they are nice and namespaced, but there's
> nothing in the lombok framework that _requires_ annotations. lombok
> could rewrite every instance of 'a == b' where both a and b are
> objects, to 'a == null ? b == null : a.equals(b)' if you wanted it to.

And then you wouldn't be able to use an annotation processor to
trigger the rewriting. Charlie's point about hacking javac wasn't that
you should eschew IDEs and push people back to notepad. It was that a
language change is properly made in a compiler where the grammar can
be tweaked without limit and where the change benefits from other
parts of the compiler's pipeline, e.g. definite assignment analysis.
By implementing Lombok as an annotation processor, it's constrained to
a small part of the pipeline so has to reach out and basically
vandalize the compiler's AST. Since both Eclipse and Netbeans
ultimately call into ecj and javac directly, it would be much better
if you just hacked that ecj or javac instance directly.

A related point is that your attacks on Coin (and Joe in particular)
are tiresome and offensive, and your shilling for Lombok as the savior
of the everyman Java programmer is laughable.

Alex
--~--~---------~--~----~------------~-------~--~----~
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