Reducers, or understanding the shape of functions

Hey everyone, happy Saturday. I thought I could bless your afternoon with a nice long article about functional programming :grin:

The article is called "Reducers, or understanding the shape of functions", and talks about reducers / higher-order reducers, and how:

  1. They let you efficiently yet descriptively map and filter over an array many times without allocating any intermediate arrays (and without having to recompute the element every time like when using lazy )
  2. More importantly in my opinion, they help you understand the shape of functions, which is essential to harnessing functional programming and its compositional goodness to its fullest.

I hope you enjoy the article!


Thank you! Looking forward to reading it! :blush:

Hope you enjoyed it! Sorry if it's a little too long, it's a subject which really interests me.

Terms of Service

Privacy Policy

Cookie Policy