Scala for the Impatient

Cay Horstmann

Agenda

  1. Why Scala?
  2. Functional Features
  3. Wrangling Text and Graphics
  4. Classes and Case Classes
  5. Actors and Concurrency
  6. Conclusion

Java is not The End of History

“Cambrian Explosion” of Languages

About Scala

Basic Syntax

Fun With Map

Application: Sum Presidential Salaries

Your Data is in XML?

Images

Classes

Traits

Case Classes

Pattern Matching

CS2 Made Easy

Scala Actor Library

Receiving Messages

Scala Actors

The Unsung Hero: Parallel Collections

Getting Started With Scala

Conclusion