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

Show parent comments

1

u/South-Year4369 Mar 21 '25 edited Jun 13 '25

The argument that 'verbosity makes it easier to read and understand' gets made quite a bit about Java, but I just can't believe it's anything other than an issue of familiarity.

I mean, is it going to be faster and easier to understand a large technical document that uses lots of waffly, verbose prose and flowery language that adds volume but no additional meaning? Or if it's clear and concise?

I know which is the better choice for me. And the same goes for languages.

1

u/oloryn Mar 21 '25

Verbosity at least avoids the problems of Perl, where sometimes it seems that most line noise is a syntactically correct Perl program (I actually like Perl, but recognize that some Perl code can be really obscure and hard to read. Not as hard to read as some Forth or APL programs, but still...).

1

u/South-Year4369 Mar 22 '25

q (an APL spiritual derivative, using standard keyboard layout) is another example of conciseness taken to the extreme. To me it's pretty much a write-only language.

Both extremes are bad IMO.