Live data from Hacker News

Why Java is still relevant

medium.com

41–50 of 82 posts

Re: Why Java is still relevant

#41
I like java as a language. It's consistent, has less warts than many languages and the jvm is pretty darn awesome.

What I don't like is the java ecosystem. Guice? I've nothing but bad experiences with it. Just about every framework out there that I've used in java has gotten in my way more frequently than it's been helpful. Java Api's (excluding much of the stdlib) almost all seem to be made to annoy me.

Java's great. If only it's ecosystem matched.

Re: Why Java is still relevant

#42
post #33

Also a lot of the de-facto Big Data/NoSQL/Distributed Computing stack is Java(/Scala). Hadoop, HBase, Cassandra, Neo4j, Storm, its actually pretty interesting to note that most of the popular nosql solutions are in Java. On top of that its the number 3 language on Github. I'm not a huge fan of Java but I'd be pretty surprised if someone was saying Java wasn't relevant. Don't quote me on this, but its also the fastest…

It's also because of automatic garbage collection and the fact that programmers today can't handle memory management.

Programmers today do not have to handle memory management because of JVM. Programmers yesterday could not handle memory management that's why jvm came into existence.

Re: Why Java is still relevant

#43
post #16

Earlier quoted context omitted.

I have always found it rather unfortunate that the JVM is the best platform for Clojure, and unfortunate that interop with Java is so important. All of the blemishes on the language seem to be a consequence of those two things.

I think the idea is to have Clojure support as many runtimes as possible, or whichever runtime is best for the task. The JVM was the start and at this point has the biggest momentum, but there's not much stopping people from porting the language to a different runtime.

Could that mean that Clojure might one day support TCO/mutual recursion as F# does, if being used on the CLR?

I know it is cliche to complain about that, but it really does annoy me.

A Clojure targeting LLVM could be pretty interesting too...

Re: Why Java is still relevant

#44
post #6

Java will wane in relevance as Oracle turns it into a way to squeeze support contracts out of users (see the recent timezone-update kerfuffle).

Did you not notice that Oracle is still providing free TZ updates through regular JRE updates?

TZ updates aren't going to have much of an impact on Java relevance. If they start charging for JRE updates themselves, let's talk.

Re: Why Java is still relevant

#45

Why learn Java? Sure, there's lots of jobs out there for it, but there's also lots of Rails jobs too. Rails is more fun than Java, so if you're looking to expand your career opportunities, you're probably better off learning a tech stack that won't bore you to death.

> But there's also lots of Rails jobs too.

Depends where you are. Outside Silicon Valley and a handful of tech hubs in the world, Rails pretty much doesn't exist. Java, on the other hand, is used everywhere.

Re: Why Java is still relevant

#46

Also a lot of the de-facto Big Data/NoSQL/Distributed Computing stack is Java(/Scala). Hadoop, HBase, Cassandra, Neo4j, Storm, its actually pretty interesting to note that most of the popular nosql solutions are in Java. On top of that its the number 3 language on Github. I'm not a huge fan of Java but I'd be pretty surprised if someone was saying Java wasn't relevant. Don't quote me on this, but its also the fastest…

> When the author made the claim that Java was as fast as Go, I was a bit surprised. I wasn't aware Go had caught up to Java.

As a Go "fan": it hasn't. It's close in some things, faster in a few, but the JVM has years (and years) of performance tuning in it, and Go won't unequivocally beat Java for some time (if ever).

(This WiFi connection is failing me right now, but there's a good number of Go vs. Java benchmarks out there, for whatever benchmarks are worth)

Re: Why Java is still relevant

#47
post #29

>> Stream.of(1, 2, 3, 4, 5, 6, 7) .map(x -> x * x).filter(x -> x % 2 == 0) .reduce(0, (sum, x) -> sum + x); If I catch anyone writing Java code that I will have to work on writing Lambda expression crap like the above I will hit the ceiling. How can you debug junk like that?

This exact response right here is why a perfectly good language like java is ranked just under php in the hated languages list.

The language is fine but the insistence by the vast majority of the developers using it to do things in a way that can only be described as "Enterprisey" gives it a bad name. And it really is a shame.

Re: Why Java is still relevant

#48

Also a lot of the de-facto Big Data/NoSQL/Distributed Computing stack is Java(/Scala). Hadoop, HBase, Cassandra, Neo4j, Storm, its actually pretty interesting to note that most of the popular nosql solutions are in Java. On top of that its the number 3 language on Github. I'm not a huge fan of Java but I'd be pretty surprised if someone was saying Java wasn't relevant. Don't quote me on this, but its also the fastest…

[deleted]

Re: Why Java is still relevant

#49
post #33

Also a lot of the de-facto Big Data/NoSQL/Distributed Computing stack is Java(/Scala). Hadoop, HBase, Cassandra, Neo4j, Storm, its actually pretty interesting to note that most of the popular nosql solutions are in Java. On top of that its the number 3 language on Github. I'm not a huge fan of Java but I'd be pretty surprised if someone was saying Java wasn't relevant. Don't quote me on this, but its also the fastest…

It's also because of automatic garbage collection and the fact that programmers today can't handle memory management.

It's because of automatic compilation and the fact that programmers today can't handle register management.

It's because of integrated circuits and the fact that programmers today can't handle voltage management.

Re: Why Java is still relevant

#50
I would be curious what PG thinks about this. Relating in opinions described in his book. And is it just me or "banking startup" sounds like oxymoron.

Anyway, thanks for sharing your opinion. Still think learning GO could be a better idea, at least for me.

Post reply on HN