3 ms·
The gotcha is that Lombok thinks classes should be structs, and will try to persuade you of that too. A fundamental plank of good object-oriented design - whic
by twic 10y ago
The gotcha is that Lombok thinks classes should be structs, and will try to persuade you of that too.
A fundamental plank of good object-oriented design - which i admit that i rarely see or even practice - is information hiding. Lombok rips that up and burns it. And that may give you a warm feeling for a while, but at some point, you're going to fall through the floor.
- Roboprog 10y agoMost java shops create a lot of "do nothing" scut work "beans". If that's what much of the work you are forced to do is, make short work of it. Lombok of course doesn't help much for classes with "Actual Work" (TM) in them, but that's OK. Was there something more subtle that I'm missing? (quite possible)