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

Advanced R Programming
Johns Hopkins University via Coursera
Building User Interfaces Using Functional React Components
NIIT StackRoute via Coursera
[Beta] Learn Advanced Python 3
Codecademy
Introduction to Functional Programming
Delft University of Technology via edX
Computing: Art, Magic, Science - Part II
ETH Zurich via edX