Skip to content

Comment on Ask HN: Java 8 or Scala?

Comments

Scala for sure. It is a more expressive language that leads to less bugs down the road. Encouraging lots of immutability is huge, as well as a bunch of other benefits.

There will be a transition time for non-scala devs, but it should easily pay for itself down the road.

   It is a more expressive language that leads to less bugs down the road. Encouraging lots of immutability is huge, as well as a bunch of other benefits.
Deja vu. I use to talk just like you. My colleagues would too.

I miss Java's verbose-ness. It's hell, but for large codebases and tooling - I wish I had a bottle of JDK 8 right now.

I heard a lot of this "prescription"-like talk, it'll buy us a lot X down the road. I blame our "this or nothing" attitude toward scala.

We would unconsciously, I think, immediately cast aside any contrary information. We thought ourselves as using this perfect tool and were condescending to anyone who used other things.

We wrote everything in it. We fired 2 node/python coders.

We're too invested and afraid to admit reality, it's a flawed language. Too complicated. Too many idioms for the lexer to handle.

Frankly, the only scala engineer who ever admitted it (they outright ban scala detractors on the mailing list and freenode) was Brad Phillips. Don't take my word for it, I recommend looking him up.

I assume you mean Paul Phillips, the co-founder of typesafe? It's true that he admits scala is too complicated; but it's also true he keeps working in it and himself admits he hasn't found a suitable replacement.

If immutablity and functional style programming are priorities, then why Scala over Clojure? By which I mean that the decision is less about technical concerns, they all run on the JVM, than team dynamics and who is willing to learn what...or not learn what. If using Java/Scala contributes to the likelihood of the project team failing then Java/Scala is the wrong choice.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.