Book Image

Learn Scala Programming

By : Slava Schmidt
Book Image

Learn Scala Programming

By: Slava Schmidt

Overview of this book

The second version of Scala has undergone multiple changes to support features and library implementations. Scala 2.13, with its main focus on modularizing the standard library and simplifying collections, brings with it a host of updates. Learn Scala Programming addresses both technical and architectural changes to the redesigned standard library and collections, along with covering in-depth type systems and first-level support for functions. You will discover how to leverage implicits as a primary mechanism for building type classes and look at different ways to test Scala code. You will also learn about abstract building blocks used in functional programming, giving you sufficient understanding to pick and use any existing functional programming library out there. In the concluding chapters, you will explore reactive programming by covering the Akka framework and reactive streams. By the end of this book, you will have built microservices and learned to implement them with the Scala and Lagom framework.
Table of Contents (19 chapters)

Working with the code

The code examples for this book can be found in the GitHub repository under the following URL:

In this section, we will give you a short introduction to how to download and work with the source code using the SBT console and Scala REPL.

Getting the code

The recommended way to install the accompanying code is by cloning it using Git utilities. As we're updating and improving the code if needed, this will allow us to get future changes easily. Please refer to the installation instructions for the Git tools for your operating system.

In this case, there are no Git tools available; the source code can be downloaded using a web browser or other...