Programming Scala, Second Edition

Update: I've started work on the third edition, which will be published in 2020.

Programming Scala, Second Edition is a comprehensive and up-to-date introduction to Scala. It covers the features of Scala version 2.11. The code examples were recently upgraded to work with Scala 2.11.12, 2.12.8, and 2.13.0-RC2.

I wrote the book on Scala that I would want to read, if I were to start from the following background:

  • I'm an experienced developer of Enterprise or Internet, server-side applications.
  • I know Java and perhaps a few other languages.
  • I know Object-Oriented Programming, but not necessarily Functional Programming.
  • I hear that Functional Programming is the "future" and Scala is a natural migration step from Java.
  • I'm serious about learning Scala.

I would read Programming Scala, Second Edition to achieve the following:

  • Learn why Scala has become the language of choice for data engineering work in Big Data environments with tools like Spark and Kafka.
  • Learn why Scala is an excellent language for state of the art microservices.
  • Learn the common idioms, libraries, tools, and techniques used by experts.
  • Master all the major features of Scala, warts and all.

There are some more obscure topics that I omit and other very advanced topics that I briefly mention, so you'll be aware of them. Still, my goal for the reader is to really know the language, the common techniques used to solve various design problems, and to understand how Scala is used in domains like Big Data.

For more information:

To discuss the book, the code examples, etc. use one of these forums:

If you're using Spark and you want a quick introduction to Scala aimed at Spark developers, check out my free tutorial, Just Enough Scala for Spark.

Programming Scala, 2nd Edition