Hacker News new | past | comments | ask | show | jobs | submit login

Lombok brings huge amounts of unnecessary magic to the codebase.

A new coder diving in to the code will need to either know all the Lombok annotations by heart or look up what every single one of them does.

Also it makes debugging kinda crappy for the same reason.




huge? pretty trivial.. the point of a javabean is you don't need to understand anything. As for annotations, it's not like developers don't need to know a crapton of other annotations as well. It's just the way it is, so a few more aren't a big deal. If you need to debug java beans, you are doing something wrong.

you can also delombok if you ever get tired of it, and now your back to manual.

I personally don't use lombok, as i'm not offended by the verbosity, given that ides since forever have done all the work, but if it's something you are bothered by, well. that.

If an argument is that javabeans are the wrong pattern to use, that's a different argument, and unrelated to lombok.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: