© 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
(1)
Chennai, Tamil Nadu, India
(2)
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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.