Joël and Stephanie discuss their mental models for reduce functions, including optimization techniques, the importance of understanding the combining operation, and the use of custom objects as the accumulator. They also touch on the use of each and map instead of reduce, and the concept of monoids in reducing.

30m read time From bikeshed.thoughtbot.com
Post cover image
Table of contents
About this Episode

Sort: