Learning Modern C++ Functional Programming

Learning Modern C++ Functional Programming

English | MP4 | AVC 1920×1080 | AAC 44KHz 2ch | 2h 11m | 501 MB

Apply Functional Programming techniques to C++ to build highly modular, testable, and reusable code.

Functional programming allows developers to divide programs into smaller, reusable components that ease the creation, testing, and maintenance of software as a whole. Combined with the power of C++, you can develop robust and scalable applications that fulfil modern day software requirements. This course will help you discover all the C++ 17 features that can be applied to build software in a functional way.

The course is divided into three modules—the first introduces the fundamentals of functional programming and how it is supported by modern C++. The second module explains how to efficiently implement C++ features such as pure functions and immutable states to build robust applications. The last module describes how to achieve concurrency and apply design patterns to enhance your application’s performance.

By the end of the course, you will be familiar with the functional approach of programming and will be able to use these techniques on a daily basis

The course is divided into three modules—the first introduces the fundamentals of functional programming and how it is supported by modern C++. The second module explains how to efficiently implement C++ features such as pure functions and immutable states to build robust applications. The last module describes how to achieve concurrency and apply design patterns to enhance your application’s performance.

By the end of the course, you will be familiar with the functional approach of programming and will be able to use these techniques on a daily basis.

This course uses a module-based approach, where each module will cover important aspects of functional programming in C++ and will help you develop efficient and robust applications through gaining a practical understanding.

What You Will Learn

  • Get to know the difference between imperative and functional approaches
  • See the use of first-class functions and pure functions in a functional style
  • Discover various techniques to apply immutable state to avoid side effects
  • Design a recursive algorithm effectively
  • Create faster programs using lazy evaluation
  • Structure code using design patterns to make the design process easier
  • Use concurrency techniques to develop responsive software
  • Learn how to use the C++ Standard Template Library in a functional way to improve code optimization
Table of Contents

01 The Course Overview
02 Simplifying the Function Notation Using a Lambda Expression
03 Capturing a Value to the Lambda Expression
04 Applying the First-Class Function in All Functions
05 Higher- Order Functions in Functional Programming
06 Avoiding the Side Effect and Reducing Multiple Arguments Function
07 Understanding the Essential Part from Immutable Object
08 Creating an Immutable Programming Approach
09 Repeating the Function Invocation Recursively
10 Getting Closer to Tail Recursion
11 Getting Acquainted with Functional, Procedural, and Backtracking Recursion
12 Evaluating the Expression
13 The Basic Concept of Lazy Evaluation
14 Lazy Evaluation in Action
15 Preparing an Imperative Class
16 Refactoring the Imperative Class to Become a Functional Class
17 Debugging the Code