Loading, please wait...

product description page

Functional Programming in C++ : How to Improve Your C++ Programs Using Functional Techniques

Functional Programming in C++ : How to Improve Your C++ Programs Using Functional Techniques - image 1 of 1

About this item


Functional Programming in C++ teaches developers the practical side of functional programming and the tools that C++ provides to develop software in the functional style. This in-depth guide is full of useful diagrams that help you understand FP concepts and begin to think functionally.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

Well-written code is easier to test and reuse, simpler to parallelize, and less error prone. Mastering the functional style of programming can help you tackle the demands of modern apps and will lead to simpler expression of complex program logic, graceful error handling, and elegant concurrency. C++ supports FP with templates, lambdas, and other core language features, along with many parts of the STL.

About the Book

Functional Programming in C++ helps you unleash the functional side of your brain, as you gain a powerful new perspective on C++ coding. You'll discover dozens of examples, diagrams, and illustrations that break down the functional concepts you can apply in C++, including lazy evaluation, function objects and invokables, algebraic data types, and more. As you read, you'll match FP techniques with practical scenarios where they offer the most benefit.

What's inside

  • Writing safer code with no performance penalties
  • Explicitly handling errors through the type system
  • Extending C++ with new control structures
  • Composing tasks with DSLs

About the Reader

Written for developers with two or more years of experience coding in C++.

About the Author

Ivan Čukić is a core developer at KDE and has been coding in C++ since 1998. He teaches modern C++ and functional programming at the Faculty of Mathematics at the University of Belgrade.

Table of Contents

  1. Introduction to functional programming
  2. Getting started with functional programming
  3. Function objects
  4. Creating new functions from the old ones
  5. Purity: Avoiding mutable state
  6. Lazy evaluation
  7. Ranges
  8. Functional data structures
  9. Algebraic data types and pattern matching
  10. Monads
  11. Template metaprogramming
  12. Functional design for concurrent systems
  13. Testing and debugging
Number of Pages: 296
Genre: Computers + Internet
Sub-Genre: Programming Languages
Format: Paperback
Publisher: Oreilly & Associates Inc
Book theme: C++, C
Author: Ivan Cukic
Language: English
Street Date: November 19, 2018
TCIN: 53344310
UPC: 9781617293818
Item Number (DPCI): 248-63-6995
If the item details above aren’t accurate or complete, we want to know about it. Report incorrect product info.
MSRPReg: $49.99 Save $2.50 (5% off)
In stock - free standard shipping with REDcard
Not in stores
Loading, please wait...

Ratings & reviews

Prices, promotions, styles and availability may vary by store & online. See our price match guarantee. See how a store is chosen for you.

*See offer details. Restrictions apply. Pricing, promotions and availability may vary by location and at Target.com.