You are previewing The Well-Grounded Java Developer: Vital techniques of Java 7 and polyglot programming.

The Well-Grounded Java Developer: Vital techniques of Java 7 and polyglot programming

Cover of The Well-Grounded Java Developer: Vital techniques of Java 7 and polyglot programming by Benjamin J. Evans and Martijn Verburg Published by Manning Publications
O'Reilly logo

Chapter 9. Scala: powerful and concise

This chapter covers

  • Scala is not Java
  • Scala syntax and more functional style
  • Match expressions and patterns
  • Scala’s type system and collections
  • Concurrent Scala with actors

Scala is a language that came out of the academic and programming language research community. It has gained a certain amount of adoption, due to its very powerful type system and advanced features, which have proved to be useful for elite teams.

There is currently a lot of interest in Scala, but it’s too early to tell whether it’s a language that will fully permeate the Java ecosystem and challenge Java as a primary development language.

Our best guess is that Scala is going to filter down into more teams, and that some projects ...

The best content for your career. Discover unlimited learning on demand for around $1/day.