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.

→ More replies (1)

18

u/bcash Feb 22 '15

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.

Not a chance.

The space that Java occupies is, if anything, thinning out rather than gaining competitors. Ten years ago it was the arrival of higher-level scripting languages, more recently there's been the flood of C++-replacements (of which Rust, Go, and D are all members).

The middle-ground, the managed runtime level, is lacking in competition. Or rather the competition that exists is complementary (e.g. other JVM languages).

3

u/rcode Feb 22 '15

C++-replacements (of which Rust, Go, and D are all members).

Except that Go isn't (and never was) a C++ replacement. Even the Go authors decided it was a mistake to have called it a "systems language" when it came out.

8

u/Dworgi Feb 22 '15

C# says hi.

And considering it's gone open source, that's a pretty big competitor.

8

u/[deleted] Feb 22 '15

My BluRay player, set-top box, smart cards, Android tablet, bank, etc. tell me Java is here to stay.

21

u/weeezes Feb 22 '15

But a dude on the internet says it's not, so I just have to go with that.

20

u/[deleted] Feb 22 '15

And considering it's gone open source, that's a pretty big competitor.

Unless Linux becomes a first class citizen there is no real competition.

4

u/Dworgi Feb 22 '15

Servers. Never forget about servers.

2

u/[deleted] Feb 22 '15

That is Microsofts's stated intent. Their builds pass on Linux now, there's a ways to go, but I'd say that CLR and LLVM languages are significant threats to Java in the server space. If Microsoft or Apple start running Clojure and/or Scala as first class languages then Java could be in real trouble.

10

u/bcash Feb 22 '15

If Microsoft or Apple start running Clojure and/or Scala as first class languages then Java could be in real trouble.

That's really not likely to happen.

→ More replies (3)
→ More replies (8)
→ More replies (3)

1

u/s73v3r Feb 22 '15

Stupid question, but if they hate Java, why are they working at a Java heavy company?

1

u/CyruzDraxs Feb 23 '15

Most work in other languages. We're also converting a lot of stuff to python, because finding competent Java devs is hard.

1

u/[deleted] Feb 22 '15

I bet it's real fun working there

1

u/CyruzDraxs Feb 23 '15

Actually, yes. We've got a lot of really smart people, and we get to use all sorts of different languages. :)