Comment Comment by felineflock I honestly expected the article to start likeSmalltalk, Haskell, and Lisp...walk into a bar.Smalltalk: “Bartender, please send an instance of Martini to me - selector withOlive: set to true.”Haskell: “I’ll take beer >>= chill, but only if it’s defined for all inputs and returns IO ().”Lisp: “(drink ’(ale (temperature cold))) .”The bartender mutters, “Great ... an object, a functor, and a list.”Then a janitor walks by sweeping the closures that they left. parent felineflock 1 year ago
Smalltalk, Haskell, and Lisp
...walk into a bar.
Smalltalk: “Bartender, please send an instance of Martini to me - selector withOlive: set to true.”
Haskell: “I’ll take beer >>= chill, but only if it’s defined for all inputs and returns IO ().”
Lisp: “(drink ’(ale (temperature cold))) .”
The bartender mutters, “Great ... an object, a functor, and a list.”
Then a janitor walks by sweeping the closures that they left.