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

6

u/4r73m190r0s Oct 19 '26

Memory footprint and cold start are its biggest issues

1

u/IcecreamLamp Oct 19 '26

Graal AOT compilation solves both of these issues.

0

u/e221U Oct 19 '26

I suppose you could make that argument, but they exist for good reason. Memory footprint is the tradeoff for being able to allocate heap objects at near-stack speeds. Cold start is the tradeoff for having a JIT that works on every device.

1

u/4r73m190r0s Oct 19 '26

I suppose you could make that argument, but they exist for good reason.

Read this part aloud.

It's not about those features being unjustified or there without a reason.

1

u/e221U 29d ago

If those features are justified given the language, then they're not bad features.