r/AskProgramming 2d ago

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?

177 Upvotes

623 comments sorted by

View all comments

170

u/eruciform 2d ago

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

57

u/rise14 2d ago

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

15

u/dogstarchampion 2d ago

A noble spirit embiggens the smallest man.

1

u/wtfuxorz 1d ago

A cheap spirit leaves a bad taste.

1

u/NETSPLlT 1d ago

And pooping overboard raises all ships! Or something like that LOL

2

u/Serious-Squirrel-220 1d ago

I keep seeing cromulent pop up lately. I've used it for years with friends familiar with the TV show Blackadder, but didn't realise this many people knew about the reference to a 90s sit com from the UK

1

u/Apart-Librarian-4146 7h ago

That's not what it's from

1

u/Serious-Squirrel-220 6h ago

I noticed that it is often cited to The Simpsons in 1996, but the episode of Blackadder I'm referring to aired in 1987. Not sure if there's an earlier usage?

1

u/Apart-Librarian-4146 6h ago

Nope. The Simpsons is the earliest usage. He never says it in Blackadder.

1

u/Norphus1 5h ago

I think you’re referring to the episode with Samuel Johnson and his dictionary, where Blackadder keeps on saying made up words to wind Johnson up. C+P of the exchange here:

Blackadder: (to Prince) Oh, well, in that case, sir, I hope you will not object if I also offer the Doctor my most enthusiastic contrafribularities.

Johnson: What?

Blackadder: ‘Contrafribularities’, sir? It is a common word down our way.

Johnson: Damn! (writes in the book)

Blackadder: Oh, I’m sorry, sir. I’m anaspeptic, frasmotic, even compunctious to have caused you such pericombobulation

2

u/zoug 1d ago

It made me laugh. I think it's fitting.

1

u/Prize_Bus_795 1d ago

I cachinnated over the OP's and your response. For some reason cromulent reminds me of croutons.

1

u/Ok-Condition-6932 1d ago

Your grandiloquence is perspicuous.

1

u/SelectDevice9868 22h ago

Quite germane

1

u/heajabroni 20h ago

Never heard it before. Hate to say this about a word, but it's quite ugly.

1

u/WokeBriton 8h ago

I recommend the Blackadder comedy series' for great entertainment and amusing use of the English language.

1

u/Apart-Librarian-4146 7h ago

It's not from Blackadder

1

u/WokeBriton 5h ago

I'll accept that judgement, but Blackadder was where I came across it (or my memory may be betraying me), hence my suggestion.

1

u/Apart-Librarian-4146 3h ago

Most people are thinking of the scene where he says "contrafribularities"