Scala for the Impatient 2nd Edition

Cay Horstmann

Addison-Wesley 2016

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

“The book is a joy to read. Probably the most concise reference for Scala available on the market, this deserves to be on every programmers bookshelf”—James Sugrue

What you get:

What you don't get:

Available at Safari Books Online, as DRM-free e-book and/or printed book , and on Kindle

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

Here is the source code for the examples.

What? No solution to the exercises? I am not putting them up because many readers enjoy working them out themselves. If you google for "horstmann scala impatient solutions", you'll find blogs and github sites of fellow readers that might (give you inspiration|spoil the fun).

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)