Mastering Functional Programming: Functional techniques for sequential and parallel programming with Scala
By 作者: Anatolii Kmetiuk
ISBN-10 书号: 1788620798
ISBN-13 书号: 9781788620796
Release Finelybook 出版日期: 2018-08-31
pages 页数: (380 )
The Book Description robot was collected from Amazon and arranged by Finelybook
In large projects, it can get difficult keeping track of all the interdependencies of the code base and how its state changes at runtime. Functional Programming helps us solve these problems. It is a paradigm specifically designed to deal with the complexity of software development. This book will show you how the right abstractions can reduce complexity and make your code easy to read and understand.
Mastering Functional Programming begins by touching upon the basics such as what lambdas are and how to write declarative code with the help of functions. It then moves on to more advanced concepts such as pure functions and type classes, the problems they aim to solve, and how to use them in real-world scenarios. You will also explore some of the more advanced patterns in the world of functional programming, such as monad transformers and Tagless Final. In the concluding chapters, you will be introduced to the actor model, implement it in modern functional languages, and explore the subject of parallel programming.
By the end of the book, you will have mastered the concepts entailing functional programming along with object-oriented programming (OOP) to build robust applications.
1: THE DECLARATIVE PROGRAMMING STYLE
2: FUNCTIONS AND LAMBDAS
3: FUNCTIONAL DATA STRUCTURES
4: THE PROBLEM OF SIDE EFFECTS
5: EFFECT TYPES - ABSTRACTING AWAY SIDE EFFECTS
6: EFFECT TYPES IN PRACTICE
7: THE IDEA OF THE TYPE CLASSES
8: BASIC TYPE CLASSES AND THEIR USAGE
9: LIBRARIES FOR PURE FUNCTIONAL PROGRAMMING
10: PATTERNS OF ADVANCED FUNCTIONAL PROGRAMMING
11: INTRODUCTION TO THE ACTOR MODEL
12: THE ACTOR MODEL IN PRACTICE
13: USE CASE - A PARALLEL WEB CRAWLER
What You Will Learn
Write reliable and scalable software based on solid foundations
Explore the cutting edge of computer science research
Effectively solve complex architectural problems in a robust way
Avoid unwanted outcomes such as errors or delays and focus on business logic
Write parallel programs in a functional style using the actor model
Use functional data structures and collections in your day-to-day work
Anatolii Kmetiuk is a Functional Programming and Data Science Freelance Developer. During his programming career, he has worked on Scala projects involving parallel computing, web APIs, SaaS, and data engineering. His areas of expertise include using applications of pure functional programming to build fault-tolerant, reactive systems, as well as parallel computing. Another area of his focus is machine learning and natural language processing.