
Functional Programming in C++
How to improve your C++ programs using functional techniques
by Ivan Cukic · first published 2019
6mentions
3recommended by
4HN commenters
2019–2026first – last mentioned
75% recommend25% neutral
Affiliate links. As an Amazon Associate I earn from qualifying purchases.
Ivan Čukić wrote a book about this last year. https://www.manning.com/books/functional-programming-in-c-pl... The book is well written and it has useful techniques for if you want to do mostly functional programming and want to stick to C++.
on “Functional programming in C++ (2012)” ↗…John Barton & Lee Nackman. 3) Advanced C++ Programming Styles and Idioms by James Coplien. 4) Modern C++ Design: Generic Programming and Design Patterns Applied by Andrei Alexandrescu. Modern C++: 1) Functional Programming in C++: How to improve your C++ programs using functional techniques by Ivan Cukic.
on “C++ by Example” ↗…might enjoy the following: - "The C++ Standard Library, 2nd Edition" from Rainer Grimm - "C++ Templates, The Complete Guide, 2nd Edition" from David Vandevoorde, Nicolai M. Josuttis, Douglas Gregor - "Functional Programming in C++" from Ivan Čukić - "Concurrency with Modern C++" from Rainer Grimm And any talk from Bjarne or Herb at CppCon or C++Now.
on “Compiling a Functional Language Using C++, Part 9 – Garbage Collection” ↗You might find Functional Programming in C++ by Ivan Cukic relevant.
on “Orthodox C++” ↗…Introduction to Functional Programming Through Lambda Calculus by Greg Michaelson. You can then see how to express Functional Techniques in your language of choice (i.e. one you already know well eg; Functional Programming in C++ by Ivan Cukic) before learning a new Functional Language. This is to avoid the confusion in syntax/semantic expression of unfamiliar concepts which is a bit too much for a beginning student to handle…
on “Two Vexing Problems in Functional Programming” ↗…example, I have been working on font substitution in LibreOffice, and I'd like to use a more functional style of programming, but I'm getting stuck because of an overuse of classes. I've been reading Functional Programming in C++ by Ivan Cukic and I'd like to adopt this - it does require a lot of refactoring of this massive codebase. Perhaps this is a massive, ancient codebase issue more than a C++ issue, though.
on “C++ Should Be C++” ↗