483
you are viewing a single comment's thread
view the rest of the comments
[-] deathmetal27@lemmy.world 9 points 2 months ago

Could say the same for C/C++.

But yeah I'd like it if the features given by Lombok were standard in the language though it's not a big deal these days since adding Lombok support is very trivial.

[-] tyler@programming.dev 3 points 2 months ago

You shouldn’t use Lombok, as it uses non-public internal Java APIs, which is why it breaks every release. At one point we had a bug with Lombok that only resolved if you restarted the application. Switching off of Lombok resolved the issue.

Just switch to kotlin. You can even just use Kotlin as a library if you really want (just for POJOs), but at this point Kotlin is just better than Java in almost every way.

[-] deathmetal27@lemmy.world 3 points 2 months ago

I agree but I have tried like hell to get my team to use Kotlin but it's hard to convince upper management. The team is reluctant to switch as well.

Using Lombok is the next best thing.

Though for POJOs that are immutable you can use record classes now.

this post was submitted on 14 Jul 2024
483 points (96.7% liked)

linuxmemes

20704 readers
1947 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS