YoVDO

Introducing Functional Programming in C++

Offered By: LinkedIn Learning

Tags

C++ Courses Unit Testing Courses Functional Programming Courses Lambda Functions Courses Template Metaprogramming Courses

Course Description

Overview

Write more functional code in C++. Learn functional programming with C++ functions, Lambda functions, templates, and the RxCpp Reactive Extensions library.

Syllabus

Introduction
  • Unleash the power functional programming in C++
  • What you should know
1. Overview
  • Benefits of functional programming
  • Unit testing functional programming
2. Functional Programming in Modern C++
  • 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
3. Template Metaprogramming
  • C++ templates
  • Factorial
  • The Standard Template Library
  • Functional programming libraries
  • Boost.Hana
  • Challenge: Fibonacci generator
  • Solution: Fibonacci generator
4. Functional Reactive Programming
  • Intro to Reactive Extensions
  • RxCpp library
  • Challenge: Word frequency counter
  • Solution: Word frequency counter
Conclusion
  • Next steps

Taught by

Troy Miles

Related Courses

Automated and Connected Driving Challenges
RWTH Aachen University via edX
Basics in computer vision
Higher School of Economics via Coursera
Build a Guessing Game Application using C++
Coursera Project Network via Coursera
С/C++ for competitive programming
Moscow Institute of Physics and Technology via Coursera
C++ Interacting with the World and Error Handling
Infosec via Coursera