Practical FP in Scala: a Hands-On Approach (2nd Edition)
Author | : Gabriel Volpe |
Publisher | : |
Total Pages | : |
Release | : 2021-09-13 |
ISBN-10 | : 1006514821 |
ISBN-13 | : 9781006514821 |
Rating | : 4/5 (21 Downloads) |
Book excerpt: A book for intermediate to advanced Scala developers. Aimed at those who understand functional effects, referential transparency and the benefits of functional programming to some extent but who are missing some pieces to put all these concepts together to build a large application in a time-constrained manner.Throughout the chapters we will design, architect and develop a complete stateful application serving an API via HTTP, accessing a database and dealing with cached data, using the best practices and best functional libraries available in the Cats ecosystem such as Cats Effect, Fs2, Http4s, Skunk, Refined and others.You will also learn about common design patterns such as managing state, error handling and anti-patterns, all accompanied by clear examples. Furthermore, in the Bonus Chapter, we will dive into some advanced concepts such as MTL and Optics, and will explore Fs2 streams with a few interesting examples.A digital version is also available on LeanPub.