Programming in Scala: A Comprehensive Step-by-Step Guide / Edition 2

Paperback (Print)
Rent from
(Save 67%)
Est. Return Date: 07/29/2015
Buy New
Buy New from
Used and New from Other Sellers
Used and New from Other Sellers
from $29.81
Usually ships in 1-2 business days
(Save 45%)
Other sellers (Paperback)
  • All (14) from $29.81   
  • New (8) from $29.81   
  • Used (6) from $31.11   

More About This Textbook


Programming in Scala is the definitive book on Scala, the new language for the Java Platform that blends object-oriented and functional programming concepts into a unique and powerful tool for developers.

Coauthored by the designer of the Scala language, Martin Odersky, this authoritative book will teach you, one step at a time, the Scala language and the ideas behind it.

The book is carefully crafted to help you learn. The first few chapters will give you enough of the basics that you can already start using Scala for simple tasks. The entire book is organized so that each new concept builds on concepts that came before - a series of steps that promises to help you master the Scala language and the important ideas about programming that Scala embodies.

A comprehensive tutorial and reference for Scala, this book covers the entire language and important libraries.
Read More Show Less

Product Details

  • ISBN-13: 9780981531649
  • Publisher: Artima, Incorporated
  • Publication date: 1/4/2011
  • Edition number: 2
  • Pages: 852
  • Sales rank: 225,801
  • Product dimensions: 7.00 (w) x 9.20 (h) x 1.50 (d)

Table of Contents

Contents vii
List of Figures xvii
List of Tables xix
List of Listings xx
Foreword xxvii
Acknowledgments xxix
Introduction xxxi
1. A Scalable Language 39
2. First Steps in Scala 58
3. Next Steps in Scala 71
4. Classes and Objects 93
5. Basic Types and Operations 107
6. Functional Objects 129
7. Built-in Control Structures 149
8. Functions and Closures 173
9. Control Abstraction 194
10. Composition and Inheritance 209
11. Scala's Hierarchy 237
12. Traits 245
13. Packages and Imports 264
14. Assertions and Unit Testing 279
15. Case Classes and Pattern Matching 293
16. Working with Lists 327
17. Collections 359
18. Stateful Objects 387
19. Type Parameterization 410
20. Abstract Members 435
21. Implicit Conversions and Parameters 465
22. Implementing Lists 487
23. For Expressions Revisited 500
24. Extractors 516
25. Annotations 532
26. Working with XML 539
27. Modular Programming Using Objects 553
28. Object Equality 568
29. Combining Scala and Java 594
30. Actors and Concurrency 607
31. Combinator Parsing 642
32. GUI Programming 671
33. The SCells Spreadsheet 683
A. Scala scripts on Unix and Windows 708
Glossary 709
Bibliography 725
About the Authors 728
Index 729
Read More Show Less

Customer Reviews

Average Rating 5
( 1 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing 1 Customer Reviews
  • Anonymous

    Posted November 20, 2014

    No text was provided for this review.

Sort by: Showing 1 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)