Learning Scala
Practical Functional Programming for the JVM
Publisher: O'Reilly Media
Final Release Date: December 2014
Pages: 256

Why learn Scala? You don’t need to be a data scientist or distributed computing expert to appreciate this object-oriented functional programming language. This practical book provides a comprehensive yet approachable introduction to the language, complete with syntax diagrams, examples, and exercises. You’ll start with Scala's core types and syntax before diving into higher-order functions and immutable data structures.

Author Jason Swartz demonstrates why Scala’s concise and expressive syntax make it an ideal language for Ruby or Python developers who want to improve their craft, while its type safety and performance ensures that it’s stable and fast enough for any application.

  • Learn about the core data types, literals, values, and variables
  • Discover how to think and write in expressions, the foundation for Scala's syntax
  • Write higher-order functions that accept or return other functions
  • Become familiar with immutable data structures and easily transform them with type-safe and declarative operations
  • Create custom infix operators to simplify existing operations or even to start your own domain-specific language
  • Build classes that compose one or more traits for full reusability, or create new functionality by mixing them in at instantiation
Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyLearning Scala
 
4.5

(based on 4 reviews)

Ratings Distribution

  • 5 Stars

     

    (2)

  • 4 Stars

     

    (2)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

100%

of respondents would recommend this to a friend.

Pros

  • Concise (3)
  • Easy to understand (3)
  • Helpful examples (3)
  • Well-written (3)

Cons

No Cons

Best Uses

  • Student (3)

Reviewed by 4 customers

Displaying reviews 1-4

Back to top

 
4.0

Good book, but PDF has problems

By Tom Lurge

from Hamburg, Germany

About Me Developer

Verified Buyer

Pros

  • Accurate
  • Concise
  • Easy to understand
  • Helpful examples
  • Well-written

Cons

  • Not comprehensive enough

Best Uses

  • Student

Comments about oreilly Learning Scala:

I like the book. It is concise yet covers a lot of ground. Explanations are well thought through and helpful. The book is maybe a little to concise to give a useful introduction to functional programming techniques but at least I have the feeling that it sets me on the right path.

The PDF though doesnt work properly in Mac OS X 10.11.5 Preview: there is no hyperlinking whatsoever and when I make slightly involved annotations (boxes, underlining and textual comments) Preview sometimes crashes.

(2 of 2 customers found this review helpful)

 
4.0

Good starting point for non-java programmer

By OSUnderdog

from Northern Virginia

About Me Data Scientist, Developer, Maker

Verified Buyer

Pros

  • Concise
  • Easy to understand
  • Helpful examples
  • Well-written

Cons

  • Not comprehensive enough

Best Uses

  • Novice
  • Student

Comments about oreilly Learning Scala:

I'm a 20year veteran coder with C/C++ and recently R. I have not worked in Java but i've been looking for a good way to become familiar with that stack.

I have recently been reading about Spark and I am interested in building my understanding of Spark so that I can apply it to the area of realtime Manufacturing data processing and analysis.

Although I haven't quite finished the book I found it a very well paced learning experience. I like the examples and appreciate that they are all done using the REPL (interactive interpreter). I like the exercises at the end of each chapter. They really help cement the topic and give you things to work toward that are derived from the details in the chapter.

The book could use more information on import details. For example in Chapter 8 there is an example of a User class that is loaded in a List collection and the example calls the List method 'find' but doesn't mention that the find function needs to be loaded from a package (scala.collection.mutable) in order for the example to work as described in the text.

Another detail that's missed is a comprehensive Table of Contents. In the eBook version, the Table of Contents only lists two major sections "Core Scala" and "Object-Oriented Scala" which is great, but each major section contains several chapters. One level deeper Table of Contents would enable me to jump more quickly to a topic that I want to review.

I think the book is a great place to start for student, intermediate or experts that aren't familiar with the Java stack. I would recommend the book and I have enjoyed using it to get started in Scala.

(1 of 3 customers found this review helpful)

 
5.0

Excellent book to learn Scala

By gm

from Kansas City, MO

Verified Buyer

Pros

  • Accurate
  • Concise
  • Easy to understand
  • Helpful examples
  • Well-written

Cons

    Best Uses

    • Intermediate
    • Novice
    • Student

    Comments about oreilly Learning Scala:

    This book will give you a solid understanding of Scala, and is a great way to learn it.

    (8 of 8 customers found this review helpful)

     
    5.0

    Good book for Scala novices

    By reiver

    from Vancouver

    Verified Reviewer

    Comments about oreilly Learning Scala:

    If you are an experienced software engineer, programmer or developer but don't know Scala and are looking for a book that will take you from being a Scala novice to a Scala advanced beginner, this book is a good choice.

    The book gives you a tour of Scala features, and introduces you to many Scala concepts you will use in your day-to-day programming.

    You won't be a Scala master after reading this book. But you will on your way towards Scala competency.

    Displaying reviews 1-4

    Back to top

     
    Buy 2 Get 1 Free Free Shipping Guarantee
    Buying Options
    Immediate Access - Go Digital what's this?
    Ebook:  $33.99
    Formats:  DAISY, ePub, Mobi, PDF
    Print & Ebook:  $43.99
    Print:  $39.99