Dont Use Lombok

preview_player
Показать описание

#java #programming #softwaredeveloper #shorts
Рекомендации по теме
Комментарии
Автор

But if you have to have full control of your code base you shuldn't use spring and some other tools. You should code in assembler.

walter
Автор

I don't agree, I find this boilerplate code super ugly. Also, it's easy to forget to regenerate equals() or hashCode() after adding a new field, whereas Lombok annotations automatically take care of it.

cdhagen
Автор

If you know what Lombok does, you have full control.
You can choose when to use Lombok, and when to write it yourself.
I agree that it's not junior friendly. But even mediors can get the hang of it.
If new members on your team know Lombok, they can understand your code quicker, because there's less of it. Less clutter. More to the point.
I say this as someone who has a love-hate relationship with annotations.

Dalendrion
Автор

Lombok = clean code. Cognitive complexity is a factor that even seniors grudgingly ignore. Clean code is good code. <1% of the time you may need to include verbosity, even then it should be challenged.

derrickrose
Автор

I've been saying this.. But as the saying goes people don't take it from you unless you are rich, famous or successful. 😅

ATechRider
Автор

Bs, why would u have files full of boilerplate code. You wanna see what’s happening open the docs or the check decompiled code in your target directory

islamzanaty
Автор

Agree! The current project( big project) that I joining isn't using loombok. My architect developer said: "keep it simple as you can"

longshin
Автор

Strongly disagree, using Lombok is a no brainer

mgoode
Автор

I wouldn't use @data as I've seen issues with that before but until java comes up with a better built in system for doing getters and setters (maybe a bit like the C# system) I'll definitely keep using it.

Glashome
Автор

Expecting a new team member to know a technology is precisely what they are hired for though, isn't it? I mean following your logic we also shouldn't expect them to know Java either?

gerooq
Автор

You can see the .class file in target/ folder.

hiranneri
Автор

But wht I add a new variable, then I will have to generate getters/setters again. Rather Lombok is better to generate the getters/setters for the new variable automatically

govindgupta
Автор

So I need a builder pattern and I shouldn't use lombok?

emeka_chukwulobe
Автор

why oracle use naming from island in Indonesia

itaamelia
Автор

We don't know what's happening in spring as well, try to debug your code I bet you'll get lost yourself inside of a 20 year old code hell. Really, it just works but we don't know what's inside it. I didn't take a look at codes of docker, postgresql, Linux kernel, react ...etc. as well. We're just puzzle solvers, and I hate that.

GinsengNative
Автор

I'm not with u on this.... Writing getter and setter and also arg constructor just because I've added a new variable. Sorry i will always use Lombok

victorcousin
Автор

so u suggest I write all my codes, damn that's time waster tho

olamidvictor
Автор

@AmigosCode please the person that is posting old content for you these days is now even boring us your followers. Change the account manager now

genusleemapedze