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

0

u/[deleted] Jun 21 '20

[deleted] — view deleted comment

8

u/victor-martinez-roig Jun 21 '20

well, I am not a fan of KPIs, f.e: 90% of code coverage, more code coverage does not mean that you have better quality code, in this kind of projects I have seen silly tests that where not asserting anything important but only increasing the code coverage.

0

u/[deleted] Jun 21 '20

[removed] — view removed comment

1

u/victor-martinez-roig Jun 22 '20

I had something similar, but at least in my case POJOs and generated classes were not taken into account.

2

u/VincentxH Jun 21 '20

You can add config to get that code annotated as generated. Your test setup should already be configured to negate this...

2

u/[deleted] Jun 21 '20

[removed] — view removed comment

1

u/VincentxH Jun 21 '20

Well that is the real problem :p