Description
We all know how strong the functional programming (FP) hype train has been in recent years, particularly in the JavaScript community. We have extolled FP in countless books, videos, and blog posts, and we show no signs of stopping.
However, before we get into them, we'll lay the groundwork with concepts like pure functions, currying, and point-free style. You're already doing FP with map, filter, reduce, and Lodash, so why not explore a little further and see if you like it down here?
Syllabus :
1. Pure Functions
- The Checklist
- Purification Exercises
- Solution Review
2. Higher-Order Functions
- First-Class Citizen
- Why They're Nice
3. Function Composition
- Lesson + Exercises
- Solution Review
- Adding Ramda
4. Currying
- FP's Secret Sauce
- Spicy Exercises
5. Pipe and Compose
- Pipe
- Compose
- Inspecting With Tap
6. Sorting
- Sort Functions
- Comparators
7. Conditional Logic
- ifElse
- when/unless
- cond
8. Using What We've Learned
- Total Cart Price
- Cheapest Item
- Bang for Your Buck
- Median Paychecl
- Rating Credit Scores
9. Functors
- What Are They?
- How Ramda Uses Them
10. Lenses
- Use With Objects
- Use With Arrays
- Longhand Lenses
- Lenses Under the Hood
- Composing Lenses
11. Lenses Exercises
- Get the Flavors: Exercise
- Get the Flavors: Solution Review
- Fix the Flavors: Exercise
- Fix the Flavors: Solution Review
12. Building a Wikipedia Search
- What We're Building
- Getting Started
- Getting the Input Value
- Getting the Wikipedia URL
- Making the AJAX Request
- Making a Results Component
- Removing Those Weird Commas
- Fixing a Little Bug