Poll: Loops vs. Recursion

2 points by cloogshicer ↗ HN
Even after learning to understand recursion better, by reading SICP and similar books, I find recursive code generally more difficult to reason about than iterative code.

I'm wondering if this is only because I learned about loops first, so I thought I'd create this poll.

2 comments

[ 1.6 ms ] story [ 14.7 ms ] thread
vs. Map vs. Generator vs. Scheduler vs. Unrolled-loop vs. ...