Email the Author

You can use this page to email Daniel Westheide about Scala from Scratch: Understanding.

Please include an email address so the author can respond to your query

This message will be sent to Daniel Westheide

This site is protected by reCAPTCHA and the Google  Privacy Policy and  Terms of Service apply.

About the Book

Scala from Scratch: Understanding is the second in a series of two books that teach you the Scala programming language. Readers that have read Scala from Scratch: Exploration or have learned some Scala through other means will get a deeper understanding of the language features and underlying functional programming concepts that have been explored in the first book. You will also learn about important advanced language features that play a crucial role in many real-life Scala projects. While doing so, you'll get to know best practices that have been established over the years. By the end of the book, you will have a grasp of the language, its idioms, and common tools and techniques, allowing you to be a productive member in commercial or open-source Scala projects.

In this book you will learn more about algebraic data types and about pattern matching, and you will get insights into functional ways of error handling. You will learn about essential ideas of functional programming like currying and partial functional application. You will also explore advanced aspects of the Scala type system like covariance and contravariance, and how to employ the type class pattern when abstracting over concrete types. You will learn about the design of Scala's collections API and how to work with Scala collections effectively. You will get a good grasp of property-based testing, an alternative to example-based testing, and you will dive deeper into sbt, the standard build tool in the Scala ecosystem. You will also learn how to interact with the outside world in a purely functional way, and about different approaches at concurrent programming in Scala.

Some of the content in this book is based on The Neophyte's Guide to Scala. However, it has been heavily revised, and amended with a lot of new content. In some ways, you can think of it as a second, extended edition of that book — structured and written so that it builds on what readers have learned in Scala from Scratch: Exploration.

Community Copies

If you're a member of a marginalised community and/or can't afford to buy this book, feel free to claim one of the free community copies. Copies are limited, but I will add more whenever someone donates one.

There is currently 1 community copy available. Use this link to claim your free community copy of the book. If the coupon doesn't work, all copies have been claimed, and I haven't been able to update this page yet. There is no way for me to automate the process, unfortunately.

Donating a copy

If you would like to support members of a marginalised community who can't afford the book, please consider donating a community copy by choosing the Donate a Community copy package.

Reviews

If you like the book, I would be very grateful if you could post a review on your blog or on the book's Goodreads page.


About the Author

Daniel Westheide’s avatar Daniel Westheide

@kaffeecoder

Daniel Westheide is a software engineer living in Berlin, Germany. He is a senior consultant at INNOQ and co-organizer of ScalaBridge Berlin, the Berlin chapter of the ScalaBridge organization. He cares about empathy and inclusivity, and about the ethical, social, and ecological consequences of his work.

On his website, he discusses functional programming, architecture, as well as anything related to the software development process. He is not only interested in programming languages, but also a human language enthusiast. Moreover, he is passionate about specialty coffee, social science fiction, and tabletop roleplaying games.

Logo white 96 67 2x

Publish Early, Publish Often

  • Path
  • There are many paths, but the one you're on right now on Leanpub is:
  • Scala-from-scratch-understanding › Email Author › New
    • READERS
    • Newsletters
    • Weekly Sale
    • Monthly Sale
    • Store
    • Home
    • Redeem a Token
    • Search
    • Support
    • Leanpub FAQ
    • Leanpub Author FAQ
    • Search our Help Center
    • How to Contact Us
    • FRONTMATTER PODCAST
    • Featured Episode
    • Episode List
    • MEMBERSHIPS
    • Reader Memberships
    • Department Reader Memberships
    • Author Memberships
    • Your Membership
    • COMPANY
    • About
    • About Leanpub
    • Blog
    • Contact
    • Press
    • Essays
    • AI Services
    • Imagine a world...
    • Manifesto
    • More
    • Partner Program
    • Causes
    • Accessibility
    • AUTHORS
    • Write and Publish on Leanpub
    • Create a Book
    • Create a Bundle
    • Create a Course
    • Create a Track
    • Testimonials
    • Why Leanpub
    • Services
    • TranslateAI
    • TranslateWord
    • TranslateEPUB
    • PublishWord
    • Publish on Amazon
    • CourseAI
    • GlobalAuthor
    • Marketing Packages
    • IndexAI
    • Author Newsletter
    • The Leanpub Author Update
    • Author Support
    • Author Help Center
    • Leanpub Authors Forum
    • The Leanpub Manual
    • Supported Languages
    • The LFM Manual
    • Markua Manual
    • API Docs
    • Organizations
    • Learn More
    • Sign Up
    • LEGAL
    • Terms of Service
    • Copyright Policy
    • Privacy Policy
    • Refund Policy

*   *   *

Leanpub is copyright © 2010-2025 Ruboss Technology Corp.
All rights reserved.

This site is protected by reCAPTCHA
and the Google  Privacy Policy and  Terms of Service apply.

Leanpub requires cookies in order to provide you the best experience. Dismiss