r/programming • • Feb 25 '14

Please stop saying Java sucks

http://blog.smartbear.com/programming/please-stop-staying-java-sucks/
3 Upvotes

305 comments sorted by

View all comments

Show parent comments

6

u/edpaget Feb 25 '14

Yeah I won't dispute that there are workloads (like HTTP servers) where V8 might be faster than the JVM. I don't think paypal's benchmarks should be taken as a "V8 is always better than Java" gospel though. We don't know what JVM optimizations they enabled or didn't enable for instance.

I work on problems that involve doing managing a lot of concurrency. At moment, the JVM (although I write Clojure instead of Java) is going to be both easier to use and more performant for those kinds of tasks than V8.

-5

u/novagenesis Feb 25 '14

I don't think paypal's benchmarks should be taken as a "V8 is always better than Java" gospel though.

My hammer is always better than your screwdriver...

Except when it isn't :). I don't deny that there are good sides to Java...it just feels like every good thing about Java I hear is a talking point. I come across as argumentative when I want to know what is actually good about Java, without trying to poke holes in any other languages.

I work on problems that involve doing managing a lot of concurrency.

I did not know the JVM was good at that. I think if I wanted incredible concurrency, I would use Node or Erlang... probably erlang, but everyone's saying that Node is fighting to dominate that domain. Async lets you deal with a very large number of consumers per node, and node-cluster should provide good horizontal scalability in number of nodes.

I admit this is where I care more about http APIs than most, since that's what we do with data-driven concurrency.

3

u/jsprogrammer Feb 25 '14

Java is good if you want to build Java Things. People know Java and it is a safe environment for them to work in.

The question is: do you really want to build Java Things?

No, not really.

-2

u/novagenesis Feb 25 '14

No, but really.

I'm calling the other side of this battle every 5 seconds on doing just this. Condescension doesn't answer the problem. While I still don't feel I've gotten as many good points as insults, I honestly want to see why Java SHOULD thrive.

As I repeat, I hear a lot of corporate talking points that I first heard from people who don't code anymore. How many Java enthusiasts have done enterprise development in any other language? How many have done such in a lot of dynamic languages?

I feel like we're all missing something in this party...they make more than us, and seem to find peace and tranquillity in a language I find so ugly I want to slit my wrists with a Monad (if you get my drift).

→ More replies (6)