3
2 Comments

Coding With Emoji (Day 442)

Saw this in a tweet, a good way to start the weekend for developers... ;-)

Map/filter/reduce in a tweet:

map([๐ŸŒฝ, ๐Ÿฎ, ๐Ÿ”], cook)
=> [๐Ÿฟ, ๐Ÿ”, ๐Ÿณ]

filter([๐Ÿฟ, ๐Ÿ”, ๐Ÿณ], isVegetarian)
=>  [๐Ÿฟ, ๐Ÿณ]

reduce([๐Ÿฟ, ๐Ÿณ], eat)
=> ๐Ÿ’ฉ
on July 3, 2021
  1. 2

    That's so well thought! ๐Ÿ˜„ Thanks for sharing