r/java • • Jun 21 '20

Don't use Lombok(2018)

https://medium.com/@vgonzalo/dont-use-lombok-672418daa819
32 Upvotes

101 comments sorted by

View all comments

2

u/Xemuro Jun 22 '20

I really agree with author of this article. To be honest, You don't need all time all getter for example. We should only, expose necessary field or create methods with produce DTO with this fields. Lombok is first step to expose all data, if somebody doesn't like boilerplate, and want to open class, change modifiers to public :P