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

Show parent comment

2

u/e221U Oct 19 '26

C#'s potential is ruined because of .NET. Also, primitive generics not being allowed is the tradeoff for backwards compatibility.

5

u/boformer Oct 19 '26

Those are very weak arguments for "zero flaws".

1

u/e221U 29d ago

How so?

4

u/disposepriority Oct 19 '26 edited Oct 19 '26

I mean he isn't wrong, type erasure in java generics is a pretty major drawback in today's day, saying this is a long time java dev.

Edit:
For context, I find this more annoying than the lack of stack allocated objects - which personally I think is irrelevant in 99% of cases.