April 2018
Intermediate to advanced
312 pages
4h 48m
English
While C++ is primarily an object-oriented programming language, the support of functional objects (e.g., std::function) together with lambda functions gives it limited support for monads, which are design patterns of the functional programming world. It has to be said, though, that monads are much more usable in functional programing languages thanks to better treatment of functional objects as well as useful auxiliary constructs (e.g., algebraic data types, pattern matching, etc.).
It is not my intention to show a catalogue of monads in this book, but I do want to show at least one example of a monad that can be used by C++ developers.
Read now
Unlock full access