DEV Community

Discussion on: Explain MapReduce like I'm five

Collapse
 
carywreams profile image
Cary Reams

Write a name for each of your fingers on separate lines in a list.

Measure the length of each finger, placing the number next to the finger's name (be sure to use the same units each time) in the list.

Add all of those numbers together to get your total finger-length.

Fingers .map'd to length; lengths .reduce'd to a total sum.