Scala for the Impatient

Cay Horstmann

Addison-Wesley 2012

“Currently the best compact introduction to Scala” —Martin Odersky

What you get:

What you don't get:

Available now at Safari Books Online. The printed book will be available in March 2012.

You can get the A1 level chapters for free at TypeSafe.

Here is the source code for the examples.

Gibberish in the book? Check here for the errata, or contribute a new bug report.

Table of Contents

The [AL][1-3] refer to Martin Odersky's Scala levels.

  1. The Basics (A1)
  2. Control Structures and Functions (A1)
  3. Arrays (A1)
  4. Maps and Tuples (A1)
  5. Classes (A1)
  6. Objects (A1)
  7. Packages and Imports (A1)
  8. Inheritance (A1)
  9. Files and Regular Expressions (A1)
  10. Traits (L1)
  11. Operators (L1)
  12. Higher-Order Functions (L1)
  13. Collections (A2)
  14. Pattern Matching and Case Classes (A2)
  15. Annotations (A2)
  16. XML Processing (A2)
  17. Type Parameters (L2)
  18. Advanced Types  (L2)
  19. Parsing and Domain-Specific Languages (A3)
  20. Actors (A3)
  21. Implicits (L3)
  22. Delimited Continuations (L3)