Programming in Scala, First Edition

Free online book: Programming in Scala First Edition

Free online book “Programming in Scala: A Comprehensive Step-by-step Guide” by Martin Odersky, Lex Spoon and Bill Venners. The first edition of Programming in Scala has been published online to support the Scala community.


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, 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.

Table of Contents

  • A Scalable Language
  • First Steps in Scala
  • Next Steps in Scala
  • Classes and Objects
  • Basic Types and Operations
  • Functional Objects
  • Built-in Control Structures
  • Functions and Closures
  • Control Abstraction
  • Composition and Inheritance
  • Scala’s Hierarchy
  • Traits
  • Packages and Imports
  • Assertions and Unit Testing
  • Case Classes and Pattern Matching
  • Working with Lists
  • Collections
  • Stateful Objects
  • Type Parameterization
  • Abstract Members
  • Implicit Conversions and Parameters
  • Implementing Lists
  • For Expressions Revisited
  • Extractors
  • Annotations
  • Working with XML
  • Modular Programming Using Objects
  • Object Equality
  • Combining Scala and Java
  • Actors and Concurrency
  • Combinator Parsing
  • GUI Programming
  • The SCells Spreadsheet

Book Details

Author(s): Martin Odersky, Lex Spoon, Bill Venners
Format(s): HTML
Link: Read online.

Leave a Reply