Programming Scala, Third Edition
New language version, new edition
I’ve been working on the third edition of Programming Scala, which will focus on the exciting changes coming in Scala 3.
I’m pleased to announce that an early access release for drafts of the first six chapters is now available on the O’Reilly online learning platform. The content will be updated periodically. The third edition will be done in Q1, 2021, timed for when Scala 3 is released or nearly complete. At that time, the book will be available for purchase if you don’t have an O’Reilly platform subscription.
If you know Scala 2 already, the first four chapters will be mostly familiar, but I discuss several of the changes, so be sure to skim those chapters. Chapters five and six cover the new features for context abstractions, which will eventually replace implicits. These changes will have a big impact, both by reducing code boilerplate and by making code more expressive and clear.
I plan to write occasional blogs this Fall discussing what’s changing and my thoughts about those changes, including the new context abstractions. I’ve been deep in the details preparing this edition. The dotty documentation is good. Dotty has been the research and development name for the new language, including the early release tools. However, these releases will be called Scala 3 starting this month (October 2020).