Programming Scala: Scalability = Functional Programming + Objects

Front Cover
"O'Reilly Media, Inc.", Sep 15, 2009 - Computers - 450 pages

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


What people are saying - Write a review

LibraryThing Review

User Review  - tlockney - LibraryThing

Disclosure: I participated in the technical review of this new edition. But without any reservation I can say this book has only gotten better in the new, very much revised edition. If you want a very thorough survey of the language, you would do well with Dean's update. Read full review

LibraryThing Review

User Review  - prosfilaes - LibraryThing

I read the first part of this book, skimmed much of the rest and I'm restarting over in anticipation of Odersky's Coursera class on Scala. Having watched the first week of videos from Odersky, I don't ... Read full review


Introducing Scala
Chapter 2 Type Less Do More
Chapter 3 Rounding Out the Essentials
Chapter 4 Traits
Chapter 5 Basic ObjectOriented Programming in Scala
Chapter 6 Advanced ObjectOriented Programming In Scala
Chapter 7 The Scala Object System
Chapter 8 Functional Programming in Scala
Chapter 10 Herding XML in Scala
Chapter 11 DomainSpecific Languages in Scala
Chapter 12 The Scala Type System
Chapter 13 Application Design
Chapter 14 Scala Tools Libraries and IDE Support
Appendix References

Chapter 9 Robust Scalable Concurrency with Actors

Other editions - View all

Common terms and phrases

Bibliographic information