Module: Javascript 3: Functional programming

Use the underscore library to experience functional programming constructs: map, reduce, filter, every, some, etc.

Dates: Fri, Jan 27 - Fri, Feb 3

Learning Outcomes

Competent with elementary Javascript

Readings

Guided tour of the Javascript 3 module

Why, what, how, and when you will learn about functional programming in Javascript.

Functional programming in Javascript

Understand the basics: how to use functions as values, functions as arguments, and functions as return values.

Stop writing for loops. Start using underscore.

Make your code more compact and understandable with Underscore.js

Underscore home page

Reference guide to underscore functions

Use the source, Luke!

Annotated source code for Underscore. Highly readable.

Functional Programming Jargon

Know the terminology used in FP

Experiential Learning

Functional programming warmup

Play around with functions using Underscore

E18: Experience Functional Programming (Part 1)

Functional programming using Underscore

E19: Experience Functional Programming (Part 2)

Continue to explore functional programming using Underscore

E20: Experience Functional Programming (Part 3)

Yet more functional programming using Underscore