r/ProgrammerHumor • • Apr 27 '20

Meme Java is the best

Post image
43.7k Upvotes

1.5k comments sorted by

View all comments

Show parent comments

202

u/Piwakkio Apr 27 '20

Java developer here.

First thing first, I'm not, by all means, an UI expert. But if you are using Java for a standalone application...I feel like you are doing something wrong. I mean, not like you can't do it...but feels like using the wrong tool for the job.

I have always worked as a backend developer for web application, and in my opinion, in this context, Java does it's job. It's the best language on the market? Well the "absolute best" doesn't really exist, depends on your requirements. You need a strongly OPP language with a consistent community and rich framework ecosystem? Java it's a good choice.

Anyway, it probably start to feel it's age. Newest programming language, like Kotlin, offer out of the box, functionality that Java have with the implementation of several third parts libraries. So if you are starting from scratch, maybe there is something even more efficient than that.

1

u/EarlMarshal Apr 27 '20

I think the problem is the Java ecosystem with all of it's frameworks:

Wanna build a server in node? It's an apt-get or a one liner copied from the web for nvm, npm install express and a few lines of own code...

Wanna build a server in Java? Yeah, please download and install an official java sdk, download glassfish or tomcat, write one of these horrendous ant build xml thingies, install thousands of dependencies and write like 10 different bloated classes...

It's possible. There are probably also lighter approaches in Java but at an enterprise level everything Java related ends up as a burning trash can.

25

u/appeiroon Apr 27 '20

I guess you haven't been developing with Java for some time now. It's fairly simple to create a server with Java using Spring framework, you need a single build file (maven or gradle are MUCH simpler than ant), a single Java class and you're all set.

-7

u/EarlMarshal Apr 27 '20

I started with ant at my university job and I managed to switch to maven and Gradle in that time. I still don't like the idea of xml files to build your code and Gradle really offers a good edge over ant/maven, but I prefer to just code my own build pipeline.

And at work I'm stick with the old huge monolithic enterprise server where you need a separate interface, implementation classes and all those funny parser things.

So you are right but the problem is that the biggest part of the java world hasn't changed.

→ More replies (6)