Learn Scala 3 The Fast Way! (PDF)
Welcome, this is where you can buy the PDF version of my 5-star rated book, Learn Scala 3 The Fast Way! (Book 1: The Adventure Begins).
LATE 2025 UPDATE
This book is now just $10, and comes with FREE companion video courses, starting at this URL:
ABOUT ME
My name is Alvin Alexander. I’m self-publishing this book, and I’ve previously written these other books:
- Scala Cookbook, 1st Edition
- Functional Programming, Simplified
- Scala 3 Book (co-authored with the Scala Center) for the official Scala website
- Scala Cookbook, 2nd Edition
My website — alvinalexander.com — also contains hundreds of blog posts about Scala (and other topics), and receives millions of page views every year.
WHY THIS BOOK MIGHT BE FOR YOU
If you’ve never used Scala or Scala 3 before, I have tried to make this book as simple as possible, so you can learn Scala in small, bite-sized chunks.
Therefore, this book might be for you if:
- You are new to Scala and want to learn Scala 3 as fast as possible
- You want to remember what you learn
(As a result, if you know Scala 2 very well, this book is probably NOT for you.)
I specifically wrote this book so that I can include source code examples and online exercises to help you learn Scala 3 fast, and also to remember what you learn. My goal is to make this “a classroom in a book.”
It will also greatly help you if you have previous experience programming in another language like C, C++, Java, Python, etc. In writing the book I assume that you have seen another programming language.
A CLASSROOM IN A BOOK
Because I make a free preview available below I won’t get into the details of the contents here, other than to say that I present the topics in the order I would present them to you if we were in a classroom.
I first show how to print things with Scala, and then we get into numbers and strings, and we keep building from there. You’ll learn about:
- Numbers and strings
- The Scala REPL
- Variables
- Control structures (like if/then/else)
- Collections classes like
List,Map,ArrayBuffer - Common collections methods like
mapandfilter - Tuples and ranges
- Functions and methods
- Domain modeling, including traits, classes, objects, and enums
-
matchexpressions - More!
After this, the book includes several free example applications and scripts.
FREE PREVIEW
Ready to start? You can find a free preview of the book here:
PAPERBACK & KINDLE VERSIONS
If you’re interested in Kindle and/or Paperback versions of the book, you can find that information here:
All the best,
Al
You’ll get the full PDF and all updates.