© Anto Aravinth, Srikanth Machiraju 2018
A. Aravinth, S. MachirajuBeginning Functional JavaScripthttps://doi.org/10.1007/978-1-4842-4087-8_7

7. Composition and Pipelines

Anto Aravinth1  and Srikanth Machiraju2
Chennai, Tamil Nadu, India
Hyderabad, Andhra Pradesh, India

In the previous chapter we saw two important techniques for functional programming: currying and partial application. We discussed how these two techniques work and that as JavaScript programmers we choose either currying or partial application in our code base. In this chapter we are going to see what functional composition means and its practical use cases.

Functional composition is simply referred to as composition in the functional programming world. We are going to see a ...

Get Beginning Functional JavaScript: Uncover the Concepts of Functional Programming with EcmaScript 8 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.