O'Reilly logo

Pragmatic Scala by Venkat Subramaniam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Scala and Other Languages

Scala has drawn a good number of features from other languages, most notably Erlang. The actor-based concurrency in Scala was inspired by the success of that model in Erlang. Likewise, static typing and type inference in Scala was influenced by languages like Haskell. Functional style capabilities came from several languages that came before.

With the introduction of lambda expressions and the powerful streams API in Java 8 (see Functional Programming in Java: Harnessing the Power of Java 8 Lambda Expressions [Sub14]) we can write functional style code in Java. This is not a threat to Scala or any of the other languages on the JVM; instead it closes the gap between these languages, making it less difficult for programmers ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required