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.

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).

8

u/Dworgi Feb 22 '15

C# says hi.

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

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.

1

u/kcuf Feb 23 '15

There was a posting a couple of months back for an amazon team that was going to be using clojure. Not sure what's come of them...

→ More replies (2)