Functional Programming in C++ you own this product

Ivan Čukić
  • November 2018
  • ISBN 9781617293818
  • 320 pages
  • printed in black & white
  • Available translations: Korean, Polish, Russian, Simplified Chinese
Look inside

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.

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.

We interviewed Ivan as a part of our Six Questions series. Check it out here.

Offers precise, easy-to-understand, and engaging explanations of functional concepts.

Sumant Tambe, LinkedIn

An excellent read. Comprehensive code examples illustrate the implementation of functional programming patterns using C++14/C++17 constructs.

Keerthi Shetty, FactSet Research Systems

Provides elegant, easy-to-grasp, ready-to-use examples that will improve the way you think about coding.

Nikos Athanasiou, BETA CAE Systems

Presents a new way of writing quality software and a new way of thinking.

Gian Lorenzo, Meocci, CommProve

Particularly valuable for intermediate/advanced C++ developers who want to embrace reactive-style programming.

Marco Massenzio, Apple
4.8
Out of 5.0
A graph showing this site's review totals.
Overall Rating
100%
of customers that
buy this product give
it a 4 or 5-Star rating.
Verified Buyer
“Great value”
March 14, 2024 by Anonymous (DE)
“Although this book is based on C++17, it is very well written and covers IMHO all important functional topics. This is done while exploring difficult programming tasks like reducing internal state, simplifying error handling. It educates the reader to favor small composable blocks using the rangev3 library (which is part of C++20).

If the author would update this for C++23 I would immediately buy it.”
Verified Buyer
“Great buy”
Just what I wanted
March 7, 2024 by Erik (NO)
“Very nice read.”
Company Choice
Could get the book in pdf immediatly
Product Choice
To learn about FP
Verified Buyer
“Great value”
December 14, 2023 by Anonymous (US)
“Good Book.”
Verified Buyer
“Great buy”
Brilliant read, learnt loads from this.
March 30, 2023 by Martin P. (GB)
“Brilliant read, learnt loads from this.”
Company Choice
You had the book I wanted
Product Choice
I want to learn functional programming
Verified Buyer
“Great buy”
Excellent introduction and coverage of functional programming in C++
February 14, 2023 by Michael D. (CA, US)
“Excellent introduction to functional programming, and fairly deep coverage of the subject, with a guided tour of the supporting features in C++. Clearly written, with lots of code samples which are also downloadable.”
Company Choice
For the specific book I ordered -- I had not heard of you before this. I actually found the book on Amazon but prefer to order direct from the publisher when possible.
Product Choice
It's the best book on the subject I have seen so far (from description).

choose your plan

team

monthly
annual
$49.99
$399.99
only $33.33 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • Functional Programming in C++ ebook for free

choose your plan

team

monthly
annual
$49.99
$399.99
only $33.33 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • Functional Programming in C++ ebook for free
loading book ...