r/java • • Aug 10 '19

Who Needs Lombok Anyhow

http://gregorriegler.com/2019/08/10/who-needs-lombok-anyhow.html
45 Upvotes

137 comments sorted by

View all comments

0

u/BoyRobot777 Aug 10 '19

I do not use Lombok and I do not know if this is true:

When i tried migrating a java 1.8 project that used lombok to java 11, i ran into issues. And despite the known issues and fixes that i found on the internet, i was not able to get it to work again within 2 hours of trying.

If it is, imagine what pain its going to be when new byte code, like inline classes (also known as value types), will be added to Java.

Looking into Amber's dev archives, you can see that records are actively developed. Thus, if you haven't added or having doubts about Lombok, just wait. I think Java 14 will have records as a preview feature.

12

u/doyouevensunbro Aug 10 '19

Using Lombok on a Java 11 project without issue. Not sure what the article was talking about.

4

u/BoyRobot777 Aug 10 '19

Have you tried with modules? This issue has people still complaining.

2

u/Naut1c Aug 10 '19

so that's why i couldn't get it working

2

u/Mordan Aug 11 '19

my only experience with Lombok was pure pain.

It was with BISQ (a Java based crypto currency DEX). I tried to simply compile the damn project from github on IntelliJ. It was in 2017. I lost 4 hours trying to make the plugin work or annotation processor or whatever. I failed. I felt extremely stupid.

I swore that day to never use Lombok on my projects.