3 ms·
> Junior programmers who don't write compilers don't need to know about defunctionalization. Well, it depends. My experience is that being aware of how lambda
by zozbot234 7y ago
> Junior programmers who don't write compilers don't need to know about defunctionalization.
Well, it depends. My experience is that being aware of how lambda lifting/defunctionalization works actually makes first-class functions/HOFs a lot easier to understand as a language feature, even to a novice programmer. It's precisely the "missing link" between that language feature and the usual case of first-order functions/subroutines. Same for other "high-level" features known from FP and other programming paradigms - there are way too many of those to list them, really.