Jump to ratings and reviews
Rate this book

Mastering Functional Programming: Functional techniques for sequential and parallel programming with Scala

Rate this book
Learn how functional programming can help you in deploying web servers and working with databases in a declarative and pure way

Key FeaturesLearn functional programming from scratchProgram applications with side effects in a pure wayGain expertise in working with array tools for functional programmingBook DescriptionIn 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.

What you will learnWrite reliable and scalable software based on solid foundationsExplore the cutting edge of computer science researchEffectively solve complex architectural problems in a robust wayAvoid unwanted outcomes such as errors or delays and focus on business logicWrite parallel programs in a functional style using the actor modelUse functional data structures and collections in your day-to-day workWho this book is forIf you are from an imperative and OOP background, this book will guide you through the world of functional programming, irrespective of which programming language you use.

Table of ContentsDeclarative Programming StyleFunctions and LambdasFunctional Data StructuresThe Problem of Side EffectsEffect Abstracting Away Side EffectsEffect Types in PracticeThe Idea of the Type ClassesBasic Type Classes and Their UsageLibraries for Pure Functional ProgrammingPatterns of Advanced Functional Programming Introduction to the Actor ModelActor Model in PracticeUse A Parallel Web Introduction to Scala

382 pages, Kindle Edition

Published August 31, 2018

1 person is currently reading
5 people want to read

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
0 (0%)
4 stars
1 (25%)
3 stars
1 (25%)
2 stars
1 (25%)
1 star
1 (25%)
Displaying 1 of 1 review
Displaying 1 of 1 review

Can't find what you're looking for?

Get help and learn more about the design.