r/java • • Dec 29 '21

Why everyone hates Java?

I dont understand why java is one of the most dreaded lenguages. Java got fantastics frameworks and libraries to work with it. I dont know if im skipping something or I dont work enough with Java because I like java. What do you think??

Here is the Stack Overflow Survey

268 Upvotes

367 comments sorted by

View all comments

21

u/thisisjustascreename Dec 29 '21

Most objections to Java aside from the base language syntax are out of date. It is admittedly fairly verbose relative to some other languages, and Spring (not Spring Boot) has a reputation for being obtuse and heavily reliant on XML which is the worst possible configuration format for human readability.

The JVM is a modern wonder of the world, you can tell because people keep writing new languages that compile to Java bytecode.

6

u/nunchyabeeswax Dec 30 '21

Spring (not Spring Boot) has a reputation for being obtuse and heavily reliant on XML which is the worst possible configuration format for human readability.

That argument is also obsolete.

I haven't seen a Spring/Spring boot app heavily relying on XML configuration. Heck, we can literally avoid XML completely in most cases by simply using annotations and default settings (which are typically fine.)

Complaining about Spring (and Spring Boot for that matter) because "XML" is like complaining about Jakarta EE because of EJB 2.x (which pretty much became legacy/dead
since 2004.)

3

u/thisisjustascreename Dec 30 '21

Yes, it's obsolete, but that doesn't stop the reputation, and it doesn't stop legacy apps still using it, sadly.

→ More replies (1)