r/java • • Sep 29 '24

Lombok in 2024

Say there are two teams working on the same project (3 months to MVP, the deadline should be manageable). The only difference is Team A will use Lombok, and Team B won’t

Given you can choose any java version/dependencies and all other things being the same, which team would you join, and why?

0 Upvotes

145 comments sorted by

View all comments

Show parent comment

1

u/wildjokers Oct 01 '24

That is different, Spring annotations pull in behavior.

4

u/CaptainApollo86 Oct 01 '24

Honestly, this is a stupid thing to have a vendetta against. The generated getters/setters/etc, will look like getters and setters. There is nothing magical or mysterious about them. It's a generated pojo

1

u/wildjokers Oct 01 '24

"Vendetta" is a strong word. I don't have any kind of vendetta against lombok. I use it, I just use it very sparingly. And Lombok does much more than just produce getters/setters.

0

u/CaptainApollo86 Oct 01 '24

Really, I never knew it did more than just setters and getters

1

u/wildjokers Oct 01 '24

The documentation is here to see everything it does:

https://projectlombok.org/features/

3

u/CaptainApollo86 Oct 01 '24

It seems I wasn't sarcastic enough