Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
nine_k
· 6y ago · 0 comments
Lombok solves this for Java.
Comments
[–]
lmm
6y ago
Using Lombok ends up being just as much effort as using a different JVM language, and the rewards are smaller.
[–]
nine_k
OP
6y ago
The learning curve is way less steep, and you can introduce it into an existing project with zero impedance mismatch.
[–]
neuronic
6y ago
Yes, but in teams where there is no hope of switching to another JVM language like Kotlin, Lombok can reduce boilerplate by enormous amounts.
It's a compromise.
[–]
nickik
6y ago
Lombok is really not that complex and it not close to using a different language.
[–]
Vax45
6y ago
I would try out Immutables before Lombok. It generates code using the standard annotation processor instead of modifying OpenJDK's AST tree.