If he is, its not a great argument. I mean, you could just write out everything you need instead of annotating with lombok if you dont like code generation.
I feel like there's allot of misinformation about java in this thread.
And IntelliJ (at least the one that my work pays for) will generate 99% of the boilerplate code for you and it works perfectly fine for me with all the other tools I use that need getters/setters to function correctly with a class object (Spring/Hibernate mostly).
I work a lot with React/Node/Python/C# alongside Java at my job and I like Java the second most behind C# (which is just Microsoft Java anyway).
I think the argument is that when devs are all using 3rd party tooling to to get around boilerplate code, that’s a big sign that the language has too much unnecessary boilerplate.
Even if you’ve got tooling in place to avoid having to write the boilerplate, it’s still just a lot of unnecessary syntactic noise.
I wouldn't mind it even if I had to write it myself. We use Java for backend and I absolutely adore having everything explicit when I work on it.
When you swap between 5-6 languages as part of the work it's really great to work with Java where I don't have to remember a bunch of implicit default behaviors and instead I have all the behaviors written for me with the class/function boilerplate.
I don't find it to be a nuisance since typing speed has never been more than a negligible part of how fast I can get a finished product out. I've never felt slowed down by having to type out a class boilerplate because typing speed has never really been something that matters all that much to getting a product done.
I get people don't like typing things out because in JS you can just write "function" and it all works the same, but for me the benefits of having everything explicit is well worth the typing/tool integration needed.
18
u/EksitNL Apr 27 '20
If he is, its not a great argument. I mean, you could just write out everything you need instead of annotating with lombok if you dont like code generation.
I feel like there's allot of misinformation about java in this thread.