Book Image

Deep Dive into Functional JavaScript [Video]

By : Zsolt Nagy
Book Image

Deep Dive into Functional JavaScript [Video]

By: Zsolt Nagy

Overview of this book

In this course, you will have an in-depth overview and the tools in your utility belt to write maintainable code in JavaScript. We will stick to the latest version of JavaScript in this course, ES2017. You don't have to know ES2017 to benefit from the course, as we will introduce the language constructs that we use during it. You will experience the benefits of functional programming even if your code is not purely functional. In this course, you will learn the building blocks that act as a utility belt in your arsenal, enabling you to write code that's easy to understand, extend, test, and debug. You will get hands-on practice on how to use currying, partial evaluation, map, reduce, filter, recursion, and other functional programming concepts in ES6.
Table of Contents (6 chapters)
Chapter 3
Higher Order Functions in JavaScript
Content Locked
Section 4
Joins with Map-Reduce
We will take some SQL SELECT statements and translate them to queries written using JavaScript higher order functions such as map, reduce, and filter. You will not only learn how to perform inner joins of two tables but you will also see an example performing a left join. We will also learn how to group our results. - Learn how to translate an SQL SELECT statement to map-reduce function applications - Understand how inner joins and left joins can be translated to map-reduce applications - Discover the map-reduce equivalent of aggregating results