- [Narrator] So far, we've seen … that's it's possible to define functions … in pretty much the same way we define other things, … such as strings or numbers, … and we've also seen that it's possible … to pass functions as arguments, … again, similar to other types. … So the next logical thing for us to look at … with respect to first-class functions … is our ability to return functions from other functions. … Now the usefulness of first-class functions … has been kind of limited up until now, … without this final piece of our … first-class functions puzzle. … This is the place where the flexibility … that first-class functions give us … really starts to shine through. … So first let's try to wrap our heads around … the concept of functions and return functions. … In programming, it's common to hear functions … referred to as a black box. … You put data into the box, you get some different data out. … If we're talking about a function called double for example, … we'd put one number the box, say five, …
- The goal of functional programming
- Declarative vs. imperative programming
- Ensuring immutability
- Arrow functions in ES6
- Passing functions as arguments
- Mapping, filtering, slicing, sorting, and reducing
- Advanced functional concepts, including recursion
Skill Level Intermediate
1. Introductory Functional Concepts
2. First-Class Functions
4. Advanced Functional Concepts
5. Code Conversion Challenges
Next steps1m 10s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.