4 ms·
While I agree that higher-order functions are higher-level than tail calls, I'd say that the prevalence of things like off-by-one errors makes the comparison be
by fpgeek 12y ago
While I agree that higher-order functions are higher-level than tail calls, I'd say that the prevalence of things like off-by-one errors makes the comparison between loops and tail calls far more ambiguous.
- foldr 12y agoI was thinking more of for-each loops etc. than low-level loops with explicit counters/iterators.