Explore the increasingly popular paradigm of functional programming in JavaScript! You’ll learn how to wield and manipulate functions to develop more readable, maintainable and manageable codebases. You’ll go under the hood of powerful techniques like: Higher Order Functions, Function Composition, Pure Functions, and Immutability of State.
Overview
Syllabus
- Introduction
- Functional Programming Benefits & Concepts
- Executing JavaScript Code: A Review
- Call Stack Review
- Functions Review
- The Problem: Repetitive Functions
- Generalizing Functions
- Higher-Order Functions Review
- Higher-Order Functions Pair Programming
- Arrow & Anonymous Functions
- Map
- Reduce Introduction
- Reduce Example
- Built-In Array Methods
- Filter
- Chaining Array Methods
- Function Composition
- Function Composition with Reduce
- Function Composition Review
- Pure Functions
- Immutability
- Pure Functions & Immutability Review
- Closure
- Closure Under the Hood
- Closure Clarifications
- Inner Function
- Outer Function
- Closure Clarifications & Review
- Function Decoration Introduction
- Decorating a Function
- Invoking a Decorated Function
- Function Decoration Review
- Partial Application Introduction
- Partial Application Example
- Partial Application Clarifications
- Partial Application Review
- Wrapping Up
Taught by
Will Sentance