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 ...

Get The Well-Grounded Java Developer now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.