Still using java? Lombok can make you more productive
projectlombok.org
Still using java? Lombok can make you more productive
1–10 of 36 posts
Re: Still using java? Lombok can make you more productive
#2Will other tools find this code? E.g. I think javadoc is source-based, and I don't know if it will invoke such annotations. I would expect the annotation spec to require it, for annotations that can create methods etc, but I'm just not that familiar with the spec.
BTW: great presentation video: showing the problem, showing the solution, showing how to get started. It might seem like overkill, but that's the way to sell stuff (though this one seems to be under the MIT license, ie free).
Re: Still using java? Lombok can make you more productive
#3It's a cute idea, to use annotations to generate getters/setters etc, instead of generating source code (IDE style). A good strategy for any boilerplate that a particular project requires. Will other tools find this code? E.g. I think javadoc is source-based, and I don't know if it will invoke such annotations. I would expect the annotation spec to require it, for annotations that can create methods etc, but I'm just…
Re: Still using java? Lombok can make you more productive
#4Re: Still using java? Lombok can make you more productive
#5Re: Still using java? Lombok can make you more productive
#6Re: Still using java? Lombok can make you more productive
#7Re: Still using java? Lombok can make you more productive
#8How retarded, look at Clojure instead
something like:
(defdata mountain name :setter :getter latitude :getter etc ...)
might not be too hard to implement on top of clos (or on top of defstruct - but clos has the advantage of already having flexible accessors) not sure about clojure.
Re: Still using java? Lombok can make you more productive
#9How retarded, look at Clojure instead
Re: Still using java? Lombok can make you more productive
#10How retarded, look at Clojure instead
How cavalier of you... never mind that there are many thousands of people who may not have a choice but to use Java. Anything that eases the pain of boilerplate is a good thing.