Learning Functional Programming with JavaScript (ES5)

Learning Functional Programming with JavaScript (ES5)

59mIntermediate2017-07-14

Authors

Shaun Wassell

Shaun Wassell

Full-Stack Software Developer

Course details

Functional programming is a clean, robust alternative to the more typical procedural style of programming. In this course, learn about the functional concepts at the heart of many JavaScript frameworks and programs. Shaun Wassell begins by explaining what functional programming is, exactly, and how it compares to object-oriented programming. He then covers the basics of functional programming in JavaScript, discussing concepts such as higher-order functions and closure. He then moves on to mid-level topics, touching on JavaScript array methods and callbacks. Finally, he dives into advanced concepts, including partial application and recursion.

Learning objectives
What's functional programming?
Functional vs. object-oriented programming
First-class functions
Higher-order functions
Array functions
Mapping, filtering, and reducing
Simple callbacks
Callbacks with arguments

Skills covered

JavaScriptProgramming FoundationsOracleLearningProgramming LanguagesSoftware Development

Concepts

Introduction

  • Welcome
  • What you should know
  • Exercise files

Course Introduction

  • Installing Node.js and npm
  • Installing Lodash and running code
  • What is functional programming
  • Functional vs. object-oriented programming (OOP)

First-Class Functions

  • Assigning functions to variables
  • Passing functions as arguments
  • Closure and returning functions
  • Higher-order functions

Array Functions

  • Mapping
  • Filtering
  • Every some
  • Reducing
  • Combining functions

Callbacks

  • Chapter introduction
  • Simple callbacks
  • Callbacks with arguments

Advanced Functional Concepts

  • Introduction
  • Partial application
  • Recursion

Conclusion

  • Next steps
40,000 Toman