r/AskProgramming • • Mar 20 '25

Why is Java considered bad?

I recently got into programming and chose to begin with Java. I see a lot of experienced programmers calling Java outdated and straight up bad and I can't seem to understand why. The biggest complaint I hear is that Java is verbose and has a lot of boilerplate but besides for getters setters equals and hashcode (which can be done in a split second by IDE's) I haven't really encountered any problems yet. The way I see it, objects and how they interact with each other feels very intuitive. Can anyone shine a light on why Java isn't that good in the grand scheme of things?

226 Upvotes

695 comments sorted by

View all comments

183

u/eruciform Mar 20 '25

Get better mentors

Every modern language in general use has its pros and cons, which is why it's a language in general modern use, otherwise that would mean thousands of professionals are idiots working with a "bad" language

Java isn't for all solutions

Neither is c

Or python

Nothing is universally the best choice for all cases

Java is a perfectly cromulent place to start, just do branch out and learn other languages as well

That way you'll have a wider and wiser view than whoever these people are that you're talking to

Good luck

61

u/rise14 Mar 20 '25

You really embiggened that reply with the use of the word cromulent.

→ More replies (23)

18

u/[deleted] Mar 20 '25

Using the language and tool set for the job is paramount. Taking that heart embiggens your mind. 

I still hate Ruby on Rails.

20

u/eruciform Mar 20 '25

Lol we all have our favorites and least favorites

I hate PHP but still use WordPress

And I love perl even though it looks like Cthulu choked on a lego and vomited ancient glowing hieroglyphs

16

u/this_knee Mar 20 '25

looks like Cthulu choked on a lego and vomited ancient glowing hieroglyphs

r/brandnewsentence

6

u/Outrageous-Ranger318 Mar 21 '25

Have suddenly become interested in perl

→ More replies (6)

4

u/davejjj Mar 20 '25

PHP and its crap documentation.

→ More replies (1)

4

u/petiejoe83 Mar 20 '25

At least they glow!

4

u/Snezzy_9245 Mar 20 '25

Perl has at least one good point. I needed an app to display status of the project for my boss. Never wrote any Perl before, had it up and running in two days. Looked like Cthulhu had helped, but it worked.

→ More replies (4)

3

u/bashomania Mar 21 '25

That reminds me of Larry Wall apparently describing Lisp as “[having] all the visual appeal of a bowl of oatmeal with fingernail clippings mixed in”.

→ More replies (3)
→ More replies (16)

4

u/vapocalypse52 Mar 20 '25

I hate ruby on rails and I've never even seen one expression, let alone one line of code. 🤣

When it got famous, the evangelists were so obnoxious, that just hearing the word "ruby" gave me the icks.

  • "hmm, this bread is good with butter!"

  • "yeah, but have you tried ruby?"

3

u/bashomania Mar 21 '25

Righteous, but I really loved Ruby as a language, and Rails was pretty slick and pretty ground-breaking for its time.

3

u/meerkat2018 Mar 21 '25

I also ignored Rails because I thought Rails developers were all pretentious hipsters who coded exclusively on Macs while sitting in a Starbucks, and that they thought of themselves as “rockstars” and “artisans”. Although their code was just a bunch of DSL macros.

But having tried Rails recently, I found it to be very nice, and Rails community seems to be much more humble nowadays because they are now working class people who has to deal with all the legacy mess that the “rockstar” divas had written and jumped ship.

→ More replies (3)

3

u/windsorHaze Mar 21 '25

That’s kinda how I feel about Rust right now. I want to like it, I think the syntax is ugly, but plenty of languages fit that bill.

I just got so turned off by Rust because of just how aggressively evangelizing the community was, especially in the beginning. It was like being back in the Ruby on Rails hay days.

I do have to say though, it does feel like the Rust community has kinda stepped down off that ivory pedestal they had placed themselves on. It’s at least now on my list of languages to explore/learn.

3

u/Flamanis Mar 21 '25

I use Rails for work. I find it a pretty acceptable language and honestly quite fun. It's got a lot of pretty neat shortcuts. Maybe I've never had one of the issues you have.

Why do you hate Rails? Just curious.

3

u/[deleted] Mar 21 '25

I don't like the dynamic typing, or it being weakly strongly typed as some say it.

Rails itself was touted as an end all solution to everything. Too over hyped.

I'm just soured on it. I'm sure it's perfectly fine. I just survived a PHP and Laravel contract and I assume that's much worse.

My hate is more tongue in cheek. 

→ More replies (1)
→ More replies (3)

7

u/flatfinger Mar 20 '25

It's a shame that in the 1980s the fact that it became possible for one language to do just about everything caused people to assume that one language should be used to do just about everything, rather than recognizing the value of having languages focus on trying to do particular things well, even if that would make them less suitable for other purposes.

→ More replies (7)

5

u/[deleted] Mar 21 '25 edited Oct 03 '26

[removed] — view removed comment

→ More replies (3)

8

u/lezeptenkyle Mar 20 '25

Upvoted for using the word cromulent

→ More replies (3)

4

u/pikabu01 Mar 20 '25

I totally agree, but how do you define 'modern language'? :D

→ More replies (5)

9

u/pornthrowaway42069l Mar 20 '25

That's why god invented Jython, the most perfect of languages

5

u/eruciform Mar 20 '25

Lol I'm in jython hell right now trying to support python2 code please don't remind me

3

u/pornthrowaway42069l Mar 20 '25

But... why... why would you use it...

6

u/eruciform Mar 20 '25

Because the third party tool that we have no control over requires it?

→ More replies (5)
→ More replies (2)
→ More replies (35)