Re:What if you couldn’t program with loops?
by AKrumbach on Monday July 15, 2019 @12:01PM
(#20442060)
I'd be even more specific than that: understanding the transformation to turn a looping function into a recursive one is the key gateway into being able to comprehend code which uses advanced call-stack manipulation patterns, such as continuations or coroutines. While I hesitate to call such methodologies _simpler_ code, such patterns still will certainly yield more maintainable, reliable code in a strict single-thread language such as Javascript.
[ Parent
| on HN ]
There are no comments on this comment yet.