Автор: Daniel Westheide
Издательство: Leanpub
Год: 2020-11-05
Страниц: 309
Язык: английский
Формат: pdf (true), mobi, epub
Размер: 19.19 MB
Do you want to get a deeper understanding of Scala and functional programming? Has "Scala from Scratch: Exploration" whetted your appetite? This follow-up book gives you an in-depth understanding of Scala, including many of the advanced concepts. You'll learn about best practices and you'll be ready to get productive in real-life Scala code bases.
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.
Скачать Scala from Scratch: Understanding