March 2021
Intermediate to advanced
360 pages
9h 56m
English
This chapter covers
map and flatMapValidation data type to remove complex branching logic::)The purpose of abstraction is not to be vague, but to create a new semantic level in which one can be absolutely precise.
—Edgar Dijkstra
In chapter 4, you learned how function composition leads to fluent, compact, and declarative code when you use compose to chain your function’s inputs and outputs as data passes through them. Composition has a lot of benefits because it uses JavaScript’s strongest feature, as I’ve said many times: higher-order functions. With functions, ...
Read now
Unlock full access