Write more functional code in C++. Learn functional programming with C++ functions, Lambda functions, templates, and the RxCpp Reactive Extensions library.
Overview
Syllabus
Introduction
- Unleash the power functional programming in C++
- What you should know
- Benefits of functional programming
- Unit testing functional programming
- Enabling C++ 17
- transform instead of map
- copy_if instead of filter
- accumulate instead of reduce
- bind
- Functions
- Lambda functions: Curry
- Lambda functions: Closures
- Challenge: Factorial continuous add
- Solution: Factorial continuous add
- C++ templates
- Factorial
- The Standard Template Library
- Functional programming libraries
- Boost.Hana
- Challenge: Fibonacci generator
- Solution: Fibonacci generator
- Intro to Reactive Extensions
- RxCpp library
- Challenge: Word frequency counter
- Solution: Word frequency counter
- Next steps
Taught by
Troy Miles