DEV Community

Discussion on: The Trials and Tribulations. A Fool's Guide To Writing Functional JS (Part 4)

Collapse
 
pentacular profile image
pentacular

Since you're suggesting point-free composition it might be a good idea to also consider the alternative.

const deduplicated = deduplicate(data);
const inverted = invert(deduplicated);
...

Each approach has its strengths and weaknesses, after all.

Some comments have been hidden by the post's author - find out more