r/java • • Oct 05 '23

How does the lombok magic work underneath?

https://www.unlogged.io/post/how-does-the-lombok-magic-work-underneath
133 Upvotes

143 comments sorted by

View all comments

Show parent comment

0

u/[deleted] Oct 06 '23

[deleted] — view deleted comment

4

u/rastaman1994 Oct 06 '23

Like I said, preference. Its a decision every team can make for themselves, we decided against because its not a timesave for us. We spend maybe 30 minutes a month adding or removing fields from classes, so not worth adding a controversial dependency for automating that.

2

u/[deleted] Oct 06 '23

Lombok isn't for time savings related to adding fields. Any IDE does that easily. It's for keeping your C# devs from quitting.

0

u/rastaman1994 Oct 06 '23

Ah Java vs C#, another debate as old as time :D just tell them to use Lombok.

1

u/[deleted] Oct 08 '23

[removed] — view removed comment

1

u/rastaman1994 Oct 08 '23

Wild assumptions, I'm sorry my comment triggered PTSD for you. People do practice good software design in Java codebases you know? Language used has 0 correlation to good or bad software design. Fwiw, we're avid ddd and hexagonal architecture practitioners, we just never had a need for Lombok, only Java or Kotlin.

0

u/[deleted] Oct 08 '23

[removed] — view removed comment

2

u/rastaman1994 Oct 08 '23

Given 3 codebases you know nothing about that solve the same problem, 1 in C# 1 in Java, one in LombokJava, which has the better design? You can't know because all of those have the same capabilities.

0

u/[deleted] Oct 08 '23

[removed] — view removed comment

2

u/rastaman1994 Oct 08 '23

I'm going to stop engaging now because you're making no sense to me and very aggressive without explaining yourself. Good day to you :)

1

u/RScrewed Oct 10 '23

...then explain what you meant with a counter example?

"Your example is irrelevant, therefore I win".

You had the chance to have a fruitful debate and threw it down the drain with insults and a sour attitude.

You literally just add nothing but noise with your responses.

1

u/[deleted] Oct 10 '23

[removed] — view removed comment

1

u/RScrewed Oct 10 '23

That's not what he was denying and you know it. He has an opinion and supported it with respect.

You're obviously smarter than you're letting on in your replies, why are you on the official Java subreddit just to be an unlikeable asshole?

You're adding nothing to the discussion, go cosplay Gregory House with your own friends and let the adults discuss things in a constructive manner on here.

→ More replies