Название: Applied Functional Programming in Scala: Architecting composable systems with Scala higher-order functions, algebraic data types, and advanced functional patterns Автор: Virendra Kumar Mishra Издательство: BPB Publications Год: 2025 Страниц: 465 Язык: английский Формат: pdf, epub (true) Размер: 14.5 MB
Functional programming is transforming how we build robust, scalable, and maintainable software by prioritizing clarity and predictability. It emphasizes what to compute by defining expressions that map values to other values, and focuses on how to achieve a result through a sequence of statements that change program state.
This book explores core functional principles like immutability, pure functions, and referential transparency. You will gain a deep understanding of the mathematical underpinnings through category theory concepts like Functors and Monads, and then apply these practically using Scala functional features and leading libraries such as Cats and ZIO. The book also covers handling effects and I/O, advanced functional patterns, and using specialized tools to build functional web, database, and streaming solutions. With real examples and patterns, it shows how these ideas can simplify code, improve testability, and increase system resilience.
By the end of this book, you will have a theoretical understanding and practical proficiency in building high-quality, maintainable applications using functional programming in Scala.
What you will learn: - Implement Scala higher-order functions, currying, and Option/Either. - Understand Functors, Monads, and their category theory relevance. - Utilize Cats type classes for extensible functional programming. - Build scalable applications using FP patterns. - Manage side-effects and I/O functionally using effect systems. - Real-world use of functional programming.
Who this book is for: This book is for software engineers, developers, and architects seeking to write more composable, testable, and expressive code. Readers should have a basic understanding of programming concepts, but no prior functional language experience is required.
Contents:
1. Fundamentals of Functional Programming 2. Implementation of Category Theory 3. Introduction to Scala 4. Understanding Cats 5. Understanding ZIO 6. Effects Implementation in Pure Way 7. Functional Pattern Implementation 8. Functional Tools 9. Web Implementation in Functional Way 10. DB Implementation in Functional Way 11. Functional Streams for Scala 12. Case Study on Functional Toy E-commerce Site
Скачать Applied Functional Programming in Scala
|