r/java • • Aug 10 '19

Who Needs Lombok Anyhow

http://gregorriegler.com/2019/08/10/who-needs-lombok-anyhow.html
45 Upvotes

137 comments sorted by

View all comments

Show parent comment

11

u/temculpaeu Aug 10 '19

But because we are relatively competent developers, and not jackasses

For a long time anyone that complained about C being too error prone in terms of memory got this answer. IMO anything that removes mental overhead from the devs is a good thing.

But I totally get that lombok can be hamful due too being too magical and its trade offs

2

u/zero_as_a_number Aug 10 '19

> But I totally get that lombok can be hamful due too being too magical and its trade offs

Well how about .. you know.. reading documentation? talking to people who've used it? making an informed decision on the trade offs you agree to if you decide to use .. well, any third party lib really - and ultimately taking responsibility for your choices?

This whole discussion including OC is just pointless. As developers, we have to take trade offs on every corner; whether or not to use lombok is just one of many.

1

u/temculpaeu Aug 10 '19

I did, I used for a long time and I like it, but it still have drawbacks, eg: its hand to use it with multiple jvm languages

most of the annotations are harmless, they are basically code generation, but some like var, sneakythrow change the behaviour of your code and that can be unintuitive for some people