Hands-On Functional Programming with C++
An effective guide to writing accelerated functional code using C++17 and C++20
- Paperback
358 pages
- Release Date
28 June 2019
Summary
Learn functional programming and build robust applications using the latest functional features in C++Key FeaturesLearn programming concepts such as loops, expressive code, and simple parallelizationUnderstand the working of lambdas and currying and write Pure functionsExplore event sourcing and other functional patterns to improve the efficiency of your applicationsBook DescriptionFunctional programming enables you to divide your software into smaller, reusable components that are easy to write, debug, and maintain. Combined with the power of C++, you can develop scalable and functional applications for modern software requirements. This book will help you discover the functional features in C++ 17 and C++ 20 to build enterprise-level applications.Starting with the fundamental building blocks of functional programming and how to use them in C++, you’ll explore functions, currying, and lambdas. As you advance, you’ll learn how to improve cohesion and delve into test-driven development, which will enable you in designing better software. In addition to this, the book covers architectural patterns such as event sourcing to help you get to grips with the importance of immutability for data storage. You’ll even understand how to “think in functions” and implement design patterns in a functional way.By the end of this book, you’ll be able to write faster and cleaner production code in C++ with the help of functional programming.What you will learnUnderstand the fundamentals of functional programmingStructure your code by understanding the building blocks of functional programmingCompare design styles in functional programming and object-oriented programming (OOP)Use the concept of currying to create new functions in C++Become skilled at implementing design patterns in a functional wayGet to grips with multithreading by means of functional programmingLearn how to improve memory consumption when using functional constructsWho this book is forThis book is for C++ developers who want to learn functional programming but have little to no knowledge of the paradigm. Although no prior knowledge of functional programming is necessary, basic C++ programming experience will help you understand key concepts covered in the book.
Book Details
| ISBN-13: | 9781789807332 |
|---|---|
| ISBN-10: | 1789807336 |
| Author: | Alexandru Bolboacă |
| Publisher: | Packt Publishing Limited |
| Imprint: | Packt Publishing Limited |
| Format: | Paperback |
| Number of Pages: | 358 |
| Release Date: | 28 June 2019 |
| Weight: | 678g |
| Dimensions: | 191mm x 235mm |

You Can Find This Book In
Alexandru Bolboacă
Alexandru Bolboacă is a CTO, passionate polyglot programmer, senior trainer, and advisor at Mozaic Works. With over 20 years in software development, he has worked in various industries and across European countries, as well as the UK and the USA. He has been involved in large projects in sectors such as banking and financial services, energy, telecommunications, pharma, and eHealth. Drawing from practical experience, he advises and teaches architecture and usable software design, evolutionary design, crafting code, clean code, secure coding, and refactoring legacy code. Alex enjoys helping teams and organizations understand and build strategies for successful and robust products, built-in quality, and motivation.
Returns
This item is eligible for free returns within 30 days of delivery. See our returns policy for further details.



