On the Scala vs. Java discussion, “Is LinkedIn getting rid of Scala?” is a good read. It is a little sad that Scala seems to be losing momentum at LinkedIn.
My thoughts on Scala vs. Java:
- Scala is more concise than Java: BasicAvg.java vs. BasicAvg.scala (do check this!)
- Scala comes with a REPL: instrumental for productivity and code quality
- Scala enables functional coding while allowing imperative style
OK, I won’t say that Scala adoption builds our organization’s polyglot hack foo because developers are calling it quits on polyglot programming.
Writing an entire platform in Scala seems like a possibility but not a very practical one. As a compromise, you might build transforms, Spark code, and operations on RDDs in Scala, and pick the language is most appropriate for other situations, probably mostly Java. Also, where you use java, consider making Java 8 a standard from the start.