Skip to content

Comment on Ask HN: Java 8 or Scala?

Comments

Java is the right choice.

Before I get into that, you may want to not focus on the framework so much, at least not before you choose the language!

Scala is great for the right purpose, it's powerful and should make you productive much faster. Yes, Scala is much less verbose which seems like it would be much more efficient. Enter one Scala developer who has small stylistic inconsistencies and you have set everyone back quite far (especially when using other sources to answer a problem).

Java is super easy to find answers if you need to and super, super easy for one developer to inherit the code of another.

But then again, Scala might be the right choice if you HAVE to use Play, as Play was written in Scala.

Doesn't Play have documentation / API for Java?

Yes it does. But even after knowing some basic Scala, I find it significantly easier to work with Play on the Scala side. It feels more of a first-class citizen. However, this is just my personal opinion.

Can any scala package be accessible via Java? What are the catches? Could you go into detail?

It's amusing that your user name includes the word "Scala". Sounds like you already picked a side...

AboutSource Built by g1lg1l

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