r/programming • • Feb 22 '15

Java Makes Programmers Want To Do Absolutely Anything Else With Their Time

http://www.forbes.com/sites/quora/2015/02/21/java-makes-programmers-want-to-do-absolutely-anything-else-with-their-time/
35 Upvotes

636 comments sorted by

View all comments

219

u/aldo_reset Feb 22 '15 edited Feb 22 '15

Why do many software engineers not like Java?

They don't.

Seriously, I know it might be hard to believe, especially if you spend time reading reddit, HN or if you are subscribed to a few mailing-lists on the subject (which means you are part of a very tiny minority), but the bottom line is that the majority of Java developers is quite happy with Java.

If you are one of these bleeding edge developers who keep their knowledge current, are aware of Scala, Kotlin, Ceylon, Clojure or maybe even ML or Haskell, you are convinced that Java is an abomination and that certainly, all its users must absolutely hate it. And you are dead, dead wrong about that.

Before Java, we had C++, and if in the 1990-1995 period, you had interviewed C++ developers, you would probably have found out that a huge proportion of C++ developers absolutely hated programming in this language. Which set the stage for Java to take over in 1995.

I'm not seeing this today. There are no rabid mobs of developers with pitchforks massing at the gates and asking for a revolution. Java is respected for its productivity, its readability and its unbeatable fast path to getting things done in a way that's scalable and maintainable.

Which is why that it's not going to be replaced any time soon. Not by Scala, not by Kotlin, not by Ceylon. In a lustrum, maybe. But not in the near future.

Java is fine, it's liked, it's respected (for good and bad reasons) and it's going to be around for a very, very long time.

1

u/CyruzDraxs Feb 22 '15

I work at a Java-heavy company employing about 70 devs, 60+ of which despise Java. There's only a handful of them that are actually willing to even touch the Java bits.

There definitely is a lot of people that hate Java. At this point, there are some much nicer alternatives (Rust, Go, D, etc.). None have existed long enough to reach the maturity required to supplant Java yet, but I definitely think it will happen within the next 5-10 years.

7

u/[deleted] Feb 22 '15

I think most of the hate related to Java comes from bad frameworks and tools and not from the JVM or the language itself. Most companies hate rewrites or changing tools so they continue using the same bad frameworks for years and years even though they become less and less productive compared to the competition.

6

u/[deleted] Feb 22 '15 edited Feb 22 '15

Java backward compatibility may have ended up to be more of a curse than an asset. The number of companies running Spring 2 is amazing.

1

u/CyruzDraxs Feb 23 '15

Java has some great frameworks. In my experience, it's generally the language itself people dislike, largely due to a lack of features they like from other languages. Though it sounds like Java is finally catching up to other languages in that regard. C++ has had similar improvements with finally getting lambda functions and auto.