Programming Scala: Scalability = Functional Programming + Objects

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

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  - tlockney - LibraryThing

Just to be clear I read the prerelease "rough cut" of this book from O'Reilly. I haven't read it in detail, but as near as I can tell, it handily beats the other Scala books out. Read full review

Contents

Introducing Scala
1
Chapter 2 Type Less Do More
23
Chapter 3 Rounding Out the Essentials
53
Chapter 4 Traits
75
Chapter 5 Basic ObjectOriented Programming in Scala
89
Chapter 6 Advanced ObjectOriented Programming In Scala
111
Chapter 7 The Scala Object System
145
Chapter 8 Functional Programming in Scala
165
Chapter 10 Herding XML in Scala
211
Chapter 11 DomainSpecific Languages in Scala
217
Chapter 12 The Scala Type System
247
Chapter 13 Application Design
289
Chapter 14 Scala Tools Libraries and IDE Support
343
Appendix References
387
Glossary
393
Index
407

Chapter 9 Robust Scalable Concurrency with Actors
193

Other editions - View all

Common terms and phrases

Bibliographic information