r/javascript • u/chibicode • Nov 11 '19
You Can Explain Functional (JavaScript) Programming Using Emojis
https://ycombinator.chibicode.com/functional-programming-emojis1
1
u/LaSalsiccione Nov 12 '19
You've managed to take a fairly simple concept and make it impossible to understand.
0
Nov 11 '19
[deleted]
9
u/bigorangemachine Nov 11 '19
Result is headache
8
u/godofleet Nov 11 '19
Like wuahhhh...? This seems unnecessary, even to explain the concepts :/ ... Maybe just not for me
7
0
Nov 11 '19
[deleted]
2
u/nschubach Nov 11 '19
I think it's the sushi throwing it off... the identity could probably be better represented by something not of a food item, but as a generic food serving item like a tray, or a set of utensils. Mainly because, how can a sushi that returns a sushi unless it's a sandwich, which returns a sandwich can be confusing.
A tray that serves nothing is a tray.
But a tray that serves pizza, when given a sandwich will serve a pizza.
6
u/ogurson Nov 11 '19
... but you shouldn't.