3 ms·
Right, plus how is someone supposed to come in, look at the resulting code, and figure out how it works? Functions wrapped in functions wrapped in functions. (R
by badman_ting 13y ago
Right, plus how is someone supposed to come in, look at the resulting code, and figure out how it works? Functions wrapped in functions wrapped in functions. (Remember, this is supposed to be the "ridiculously simple" case.)
On the other hand, we do a lot of wrapping things in functions in JS-land, so this probably says more about the state of the art than anything.
- justincormack 13y agoA trampolined state machine reads OK, where each state is the next transition function. But generally, you want tail recursion...