Reducing Enumerable - An Illustrated Adventure
summary
Claims that reduce can reimplement many Enumerable operations and then shows it: concrete code for map via reduce, select via reduce, find by breaking with a value, and tally_by into a Hash. Notes Ruby 2.4+ adds sum but reduce still composes when transforming, filtering, counting or early-returning. Provides tested examples in a repo, an illustrated slide deck (about 50 illustrations, ~140 slides, ~200 hours to make) and runnable snippets so the reimplementations actually work.
AI-written summary · about
chapters (6)
- 0:00Start
- 1:31Social Networks
- 2:17How Reduce Works
- 7:57Master of Mapping
- 25:26Tally by Function
- 32:22Scavenger Hunt








