Scala for the Impatient (2e) : 9780134540566

Scala for the Impatient (2e)

Horstmann Cay
Published by
Pearson Higher Ed USA
Available on demand
Title type
Title type

Interest in the Scala programming language continues to grow for many reasons. Scala embraces the functional programming style without abandoning the object-oriented paradigm, and it allows users to write programs more concisely than in Java. Because Scala runs on the JVM, it can access any Java library and is interoperable with familiar Java frameworks. Scala also makes it easier to leverage the full power of concurrency.


Written for experienced Java, C++, or C# programmers who are new to Scala or functional programming, Scala for the Impatient, introduces the key Scala concepts and techniques students need in order to be productive quickly. It is the perfect introduction to the language, particularly for impatient readers who want to learn the fundamentals of Scala so they can start coding quickly. It doesn’t attempt to exhaustively list all the features of the language or make readers suffer through long and contrived examples. Instead, carefully crafted examples and hands-on activities guide through well-defined stages of competency, from basic to expert.


This new edition has been revised and thoroughly updated for Scala 2.12 and to reflect current Scala usage. It includes added coverage of recent Scala features, including string interpolation, dynamic invocation, implicit classes, and futures.

Table of contents
  • Chapter 1: The Basics
  • Chapter 2: Control Structures and Functions
  • Chapter 3: Working with Arrays
  • Chapter 4: Maps and Tuples
  • Chapter 5: Classes
  • Chapter 6: Objects
  • Chapter 7: Packages and Imports
  • Chapter 8: Inheritance
  • Chapter 9: Files and Regular Expressions
  • Chapter 10: Traits
  • Chapter 11: Operators
  • Chapter 12: Higher-Order Functions
  • Chapter 13: Collections
  • Chapter 14: Pattern Matching and Case Classes
  • Chapter 15: Annotations
  • Chapter 16: XML Processing
  • Chapter 17: Futures
  • Chapter 18: Type Parameters
  • Chapter 19: Advanced Types
  • Chapter 20: Parsing
  • Chapter 21: Implicits
New to this edition
Completely updated for Release 2.12.  Big compiler changes are underway, between the new encodings for lambdas and traits that take full advantage of Java 8, and the new optimizer.
Features & benefits
  • By Cay Horstmann, author of Core Java -- the book that has helped hundreds of thousands of programmers discover and master Java
  • Guides programmers through four levels of Scala mastery, from the absolute basics to expert-level
  • Includes 12 complete sample application projects
Author biography

Cay S. Horstmann is principal author of Core Java®, Volumes I & II, Tenth Edition (Prentice Hall), as well as a dozen other books for professional programmers and computer science students. He is a professor of computer science at San Jose State University and a Java Champion.

Sample Pages