• Menu
  • Skip to right header navigation
  • Skip to main content
  • Skip to secondary navigation
  • Skip to primary sidebar

OnlineProgrammingBooks.com

Legally Free Computer Books

  • All Categories
  • All Books
  • All Categories
  • All Books
  • About Us
  • Privacy policy
  • Disclaimer
  • Subscribe
  • Contact
You are here: Home ▶ Scala ▶ Scala By Example

Scala By Example

February 7, 2011

Free eBook: Scala By Example

Free ebook “Scala By Example” by Martin Odersky. Learn Scala through a series of examples. An excellent step-by-step introduction to many of the Scala features with the help of simple code examples.

Book Description

Scala smoothly integrates object-oriented and functional programming. It is designed to express common programming patterns in a concise, elegant, and typesafe way. Scala introduces several innovative language constructs. For instance:
• Abstract types and mixin composition unify concepts fromobject andmodule
systems.
• Pattern matching over class hierarchies unifies functional and objectoriented
data access. It greatly simplifies the processing of XML trees.
• A flexible syntax and type system enables the construction of advanced libraries
and new domain specific languages.

At the same time, Scala is compatible with Java. Java libraries and frameworks can be used without glue code or additional declarations. This document introduces Scala in an informal way, through a sequence of examples.

Table of Contents

  • Programming with Actors and Messages
  • Expressions and Simple Functions
  • First-Class Functions
  • Classes and Objects
  • Case Classes and Pattern Matching
  • Generic Types and Methods
  • Lists
  • For-Comprehensions
  • Mutable State
  • Computing with Streams
  • Iterators
  • Lazy Values
  • Implicit Parameters and Conversions
  • Hindley/Milner Type Inference
  • Abstractions for Concurrency

Download Free PDF / Read Online

Author(s): Martin Odersky
Format(s): PDF
File size: 865.75 KB
Number of pages: 145
Link: Download.

Similar Books:

  1. The Scala Language Specification
  2. The Implementation of Functional Programming Languages
  3. Java Precisely
  4. A Functional Pattern System for Object-Oriented Design
  5. Dylan Programming
Previous Post: « Tools and utilities in free software
Next Post: The Design of Approximation Algorithms »

Primary Sidebar

Get Latest Updates

  • Facebook
  • Pinterest
  • RSS
  • Twitter
  • YouTube
  • About Us
  • Privacy policy
  • Disclaimer
  • Subscribe
  • Contact

Copyright © 2006–2025 OnlineProgrammingBooks.com