Transforming Composition

Transforming Composition

One of the common "gateways" to getting hooked on FP is when developers discover composition patterns. In JS, this often looks like chains of array method calls using map(), filter(), and reduce(). But deep in the caves below the surface, dragons (of inefficiency) lurk!

We'll explore the caves, slaying those dragons as we uncover various ways of transforming our compositions in JS, including generators and transducers.

Kyle Simpson PRO

January 21, 2025

Video

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

26 slides

More Decks by Kyle Simpson

Other Decks in Programming