Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


Learn how to be more productive with Scala, a new multi-paradigm language for the Java Virtual Machine (JVM) that integrates features of both object-oriented and functional programming. With this book, you'll discover why Scala is ideal for highly scalable, component-based applications that support concurrency and distribution. Programming Scala clearly explains the advantages of Scala as a JVM language. You'll learn how to leverage the wealth of Java class libraries to meet the practical needs of enterprise and Internet projects more easily. Packed with code examples, this book provides useful information on Scala's command-line tools, third-party tools, libraries, and available language-aware plugins for editors and IDEs.

  • Learn how Scala's succinct and flexible code helps you program faster

  • Discover the notable improvements Scala offers over Java's object model

  • Get a concise overview of functional programming, and learn how Scala's support for it offers a better approach to concurrency

  • Know how to use mixin composition with traits, pattern matching, concurrency with Actors, and other essential features

  • Take advantage of Scala's built-in support for XML

  • Learn how to develop domain-specific languages

  • Understand the basics for designing test-driven Scala applications

Subscriber Reviews

Average Rating: 4.083333333333333 out of 5 rating Based on 12 Ratings

"Hard to Use" - by James on 16-JUN-2011
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
This book covers topics in a sensible order.

However, code is sometimes described rather than shown, which gives lengthy paragraphs that are hard to follow.  Clearer code with detailed comments for examples would be much better.   One section even gives huge lists of compiler errors (surely better in an appendix?).

The book also suffers from not having any exercises and so learning the language with the book is much harder.  Some hands on learning would improve this book.

Report as Inappropriate

"Great introduction and reference" - by Pragmatist on 14-OCT-2010
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Unlike others I will review the book - not the language. We have enough juvenile ranting about languages elsewhere on the internets.

The book is a well written introduction to Scala. I have also worked through the books by Odersky, Spoon and Venners and Pollak. I keep referring back to this book.

If i had to pick one book to recommend on Scala it would probably be this one.

Report as Inappropriate

"book is fine, language is garbage" - by Zibawitz on 07-JAN-2010
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
We adopted scala only to see a dramatic increase in overall development time for major projects.  The IDE tools are just not there yet, so if you are using Spring and Eclipse or SpringSource tools you'll be stuck doing a lot of manual refactoring work.  Not many of the Eclipse plugins that make developing with Java so fast work with Scala.  There is also a learning curve with the language and strange "perlisms", where random punctuation has powerful meaning.  Its very difficult to get new people up to speed.
Report as Inappropriate

Table of Contents



The publisher has provided additional content related to this title.


Visit the catalog page for Programming Scala

  • Catalog Page

Visit the errata page for Programming Scala

  • Errata

Download the supplemental electronic content for Programming Scala

  • Supplemental Content