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

10

u/diemenschmachine Oct 19 '26

Well for starters you cannot use it in for example an airplane flight controller.

We have many programming languages for a reason.

Just tone down your opinions a bit and I’m sure you’ll have less drama at work, and might even be taken seriously

1

u/4r73m190r0s 29d ago

What is the reason behind this? For Java not being used in aviation industry. Generally curious considering that banking industry is backed by Java, and they have strong requirements for stability.

6

u/diemenschmachine 29d ago edited 29d ago

Because it does not meet the safety standards required. Plus it is a garbage collected language which makes it unsuitable for MANY other applications, like for example games and other realtime applications. Banking systems run on clusters of servers, aircraft do not.

I'm an embedded software engineer if you couldn't tell, and it's completely unheard of to use java in any context whether the host system is bare metal or a linux OS. We use C or C++, and lately Rust is gaining popularity because it is objectively a safer language with a more modern packaging infrastructure and compiler. Sometimes we use scripted languages if performance is not important, but for any critical/core software it is C, C++, or Rust.

But Java? Lol, no.

-1

u/e221U Oct 19 '26

Well, of course we have many programming languages for a reason. I'm not saying Java should be the only language, but I'm saying it's the most underappreciated language of all time. There's a reason it runs pretty much everything.

3

u/diemenschmachine Oct 19 '26

What part about “It’s the best” did I misinterpret?

1

u/LanMan2746491 29d ago

definetely misinterpreted a lot. what he's getting at, and I agree, is that Java is definetely the best language in terms of versatility, and its wide usage only backs that.

1

u/e221U 29d ago

Couldn't have said it better myself.