DEV Community

Discussion on: Master Enum (metaphors galore)

Collapse
 
andevr profile image
drew

If you want another metaphor, Enum.reduce is akin to taking all your potatoes and mashing them up into a big ball :D

Collapse
 
bigspaces profile image
BigSpaces

One day, not very far away, will take that mash and cook a nice recipe :)

Collapse
 
brooklinmyers profile image
Brooklin Myers

Enum.map -> skin your potatoes to make skinned potatoes.
Enum.filter -> get rid of ugly looking potatoes.
Enum.reduce -> (Drew's) make your potatoes into mashed potatoes.