4 ms·
A bean with nothing but fields and a couple annotations is much cleaner and smaller than one full of generated getter/setter code. And I can rename a field with
by nsxwolf 6y ago
A bean with nothing but fields and a couple annotations is much cleaner and smaller than one full of generated getter/setter code. And I can rename a field without having to fumble around with the IDE to regenerate them.
- pjmlp 6y agoNever learned to use code navigation tools and respective IDE filters?
- nsxwolf 6y agoThose aren’t as good as just using Lombok.
- pjmlp 6y agoIndeed, they don't provide the pleasure to dig out bugs caused by mishandling bytecodes or the verifier.
- petersellers 6y agoAre you referring to code folding? Stuff like that helps but it's still not as good as Lombok just generating the getters and setters for you. I'm not sure if IntelliJ can filter out some of the other stuff Lombok can generate (builders, value objects, constructors, etc.)
- pjmlp 6y agoLombok generates too much for its own good.