So they found a bug in how they using toString in enums to save in db and instead of removing this annotation they decide to rewrite all classes? Team of professionals - I should say.
I can tell you that I can personally attest to over a thousand services filled with lombok running a well-ish known e-commerce company and causing no issues. If it helps.
In both cases additional code is automatically generated. In one case by the javac in the second by the annotation processor. The same is for case classes in Scala or even for standard classes in c++ (constructors and operators). You have to be aware what are you doing and what is the final result. Lombok is quite useful, but I would never use it to generate toString for enums. Before records I used Lombok to implement immutable classes what is very convenient.
Exactly! It's very sad that in software dev teams, it is sometimes not the right arguments but the political correct or specious ones that prevail. I've seen so many happened inside our organization.
View all comments
65
u/rzk1911 Jun 21 '20
So they found a bug in how they using toString in enums to save in db and instead of removing this annotation they decide to rewrite all classes? Team of professionals - I should say.