


Functional Programming in C++: How to improve your C++ programs using functional techniques : Cukic, Ivan: desertcart.in: Books Review: I'll put the only (potential) negative up front: the author assumes very solid C++ knowledge, including C++ 17. If you're new to C++, I'd definitely recommend getting some better experience with the language before tackling this book. Other than that, this was simply superb, from top to bottom. It built functional programming concepts up slowly and pragmatically, using C++ language features (usually templates) to clearly show the underlying concepts. In the end this was the only Monad explanation I've seen that was both clear and understandable, and also useful. Review: If you read the books form Scott Myers, Andrei Alexandrescu, Herb Sutter and you want more but with a focus on functional programming, here is your book. The author has several great talks on youtube many of them touching functional programming. Since C++ is getting more and more functional with every release this book is highly recommended for every professional programmer.
A**S
I'll put the only (potential) negative up front: the author assumes very solid C++ knowledge, including C++ 17. If you're new to C++, I'd definitely recommend getting some better experience with the language before tackling this book. Other than that, this was simply superb, from top to bottom. It built functional programming concepts up slowly and pragmatically, using C++ language features (usually templates) to clearly show the underlying concepts. In the end this was the only Monad explanation I've seen that was both clear and understandable, and also useful.
R**F
If you read the books form Scott Myers, Andrei Alexandrescu, Herb Sutter and you want more but with a focus on functional programming, here is your book. The author has several great talks on youtube many of them touching functional programming. Since C++ is getting more and more functional with every release this book is highly recommended for every professional programmer.
S**E
More cookbook than theory book, but that's a good thing if you've learnt some FP terms elsewhere (in my case from Haskell). There are plenty of nicely formatted and annotated code examples (in monochrome), as well as diagrams to cement understanding of what's really happening. The written style manages to be both mature and engaging, and since the second half of the book uses ranges syntax prolifically, this book is likely to become even more relevant to C++20 and beyond. Definitely a 5*.
S**R
This book takes a different approach keeping with the OO paradigm but injects functional thinking into that framework to develop solutions to some novel problems. The chapters on (i) functional data structures (ii) pattern matching and last but not least (iii) functional design for concurrent systems were interesting reads. Finally there is a chapter on testing that has some nice details too. I give it 5 stars because of its readability and 'pictures' that help me understand what the author is trying to explain. Thank you - money well spent imho.
M**N
not all of the examples could be easily compiled ... the libraries used are a bit old already
Trustpilot
2 months ago
3 days ago