the.com/higher order
functions that treat other functions like data — takers, returners, and everything gets weird and beautiful.
means a higher-order function is one that takes a function as input, returns a function as output, or both.
from traces to lambda calculus in the 1930s, where alonzo church treated functions as first-class values long before computers existed to run them.
map filter reducethe holy trinity of higher-order functions everywhere
church encodingeven numbers can be built purely from functions
javascript everywherecallbacks are higher-order functions in disguise
category theory linkfunctors are higher-order functions with extra rules