Writing Functional JavaScript Using Ramda
This course will introduce you to the basics of functional programming in JavaScript including what pure functions are, currying, composition, and how to control the application flow in a functional way.
What you'll learn
Writing good, clean, and maintainable JavaScript is a hard task. In this course, Writing Functional JavaScript Using Ramda, you will learn the basics of functional programming with the help of the Ramda library, so that you can you use to improve the quality of your JavaScript code. First, you will learn the benefits of writing pure functions. Next, you'll explore how to use currying and partial application to produce more reusable code and how to create new functions by composing other functions. Finally you'll learn how to control the flow of the application using only functions. When you're finished with this course, you'll have the skills to write JavaScript code in a functional style that will help you produce code that is easier to maintain, to reuse and to test.
Table of contents
- Introduction and Course Overview 1m
- Who Is This Course For? 2m
- Why Functional Programming? 2m
- What's Functional Programming? 2m
- JavaScript as a Functional Programming Language 5m
- The Imperative vs. the Declarative Style 5m
- Getting to Know the Demo Application 4m
- Obtaining a Key for the Movies API 1m
- Installing the Dependencies 2m
- Summary 1m
- Overview 1m
- The Problem of Impure Functions 3m
- Demo: Isolating Side-effects 7m
- Demo: Producing a More Declarative Code 7m
- Demo: Refactoring to Pure Functions 7m
- Demo Recap 1m
- Demo: Introducing Ramda 6m
- Consequences of Multiple Small Functions 3m
- Understanding Currying and Partial Application 4m
- Demo: Currying and Partial Application 5m
- Demo: Currying and Partial Application Cont. 2m
- Summary 1m