Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Pipe Functions and Compose Functions - Javascript Functional Programming Tutorial

Dave Gray via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore pipe functions and compose functions in this advanced JavaScript functional programming tutorial. Dive into the creation of compose and pipe functions, learn to handle multiple parameters, and work through practical examples including word count and palindrome checks. Discover how to integrate clone and copy functions, implement currying for partial functions, and insert clone functions as dependencies. Gain a deeper understanding of functional programming concepts through hands-on demonstrations and real-world applications.

Syllabus

Intro
What are compose and pipe functions?
Creating a compose function
Creating a pipe function
Adding a function with multiple parameters
Example: a word count function
Nested pipe function example: palindrome checks
Adding clone / copy functions to compose / pipe
Example 1: Clone function before impure function
Example 2: Curry the function for a partial that is unary
Example 3: Insert the clone function as a dependency

Taught by

Dave Gray

Reviews

Start your review of Pipe Functions and Compose Functions - Javascript Functional Programming Tutorial

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.