Skip to content

Instantly share code, notes, and snippets.

@cliffordfajardo
Last active October 5, 2019 05:45
Show Gist options
  • Save cliffordfajardo/a9d1dc8bbf7e94a1bd13f331e3ade7f7 to your computer and use it in GitHub Desktop.
Save cliffordfajardo/a9d1dc8bbf7e94a1bd13f331e3ade7f7 to your computer and use it in GitHub Desktop.
Fundamentals to Functional JavaScript, v3

Fundamentals to Functional JavaScript, v3

Day 1: Data Structures

Topics: Access, Assignment, Transformations & Organization

9:15 Data Structures: Accessing + Assignment

  • Lecture/Slides:
  • Exercise:
    • _.get()
    • _.set()
  • Solutions:
    • _.get()
    • _.set()

10:15 Data Structures: Accessing + Assignment

  • Lecture/Slides:
  • Exercise:
    • _.nth()
    • _.head()
  • Solutions:
    • _.nth()
    • _.head()

11:30 Data Structures - Transformation (loops)

  • Lecture/Slides:
  • Exercise:
    • _.each()
    • _.defaults()
  • Solutions:
    • _.each()
    • _.defaults()

LUNCH 12-1pm

1:15 Data Structures - Organization (nesting)

  • Lecture/Slides:
  • Exercise:
    • _.get() with path
    • _.defaultsDeep()
  • Solutions:
    • _.get() with path
    • _.defaultsDeep()

2:30 Exercise

  • Exercise:

    • `_.filter()
  • Solutions:

    • `_.filter()

Day 2: Functions

Topics: Scope, Higher-Order Functions, Functional Style, Currying

9am Intro to Functions + Scope

  • Lecture/Slides:
  • Exercise:
    • `_.map()
  • Solutions:
    • `_.map()

10:15 Higher-Order Functions + Callbacks

  • Lecture/Slides:
  • Exercise:
    • _.reduce()
    • _.eachRight()
  • Solutions:
    • _.reduce()
    • _.eachRight()

11:30 FP Lodash

  • Lecture/Slides:
  • Exercise:
    • _.unary()
  • Solutions:
    • _.unary()

1:15 Currying

  • Lecture/Slides:
  • Exercise:
    • _.partition()
  • Solutions:
    • _.partition()

2:30 Exercise

  • Exercise:
  • Solutions:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment