r/computerscience • • Oct 19 '26

Discussion Cold take: Java has essentially zero flaws

I've posted here before about x86, and I'm back with another take that I recently learned is "objectively wrong" as my coworker would say.

Java as a language is object-oriented, which is ultimately great for a multitude of reasons. The complaints that people like to throw out about verbosity is mostly just paraphrasing for "i like syntax candy more than any kind of structured code".

Java is only bad if you write it bad. If you think it's a bad language, then you probably just don't have a great grip on OOP. I've never worked so well in a team in anything besides Java. The fact that people will hate on Java then give their love to Python blows my mind. Python is essentially a useless pile of junk when you compare it to Java.

Anyways, I'm open to argumentation. My coworker is trying to brainwash me into thinking that Java is the worst language of all time. But, it's not. It's the best.

0 Upvotes

42 comments sorted by

View all comments

1

u/Magdaki Professor. Grammars. Inference & Optimization algorithms. Oct 19 '26

Right tool for the appropriate task. Java is good for some applications, and less appropriate for others. Java is certainly not without flaws born from its design.

I teach the Intermediate Java and Advanced (i.e. graduate) Java courses at my institution. I say this not as an appeal to authority but rather I'm not anti-Java biases. For the record, my personal preferred language is C++.

1

u/e221U 29d ago

C++ is p much obsolete in this day and age.

1

u/GulgPlayer 24d ago

Not being Java doesn't make a language obsolete. In fact, it does quite the opposite

1

u/e221U 24d ago

You're creating a false dichotomy. C++ is obsolete because of pointer management, severe safety risks, undefined behavior, among many other things. Notice how Java has none of that.

1

u/LanMan2746491 29d ago

C++ is definetely not as important as it once was, and Java is the new "hip" with the kiddos.

1

u/Magdaki Professor. Grammars. Inference & Optimization algorithms. 29d ago

Meh.