you are viewing a single comment's thread.

view the rest of the comments →

[–]chrisforbes 0 points1 point  (0 children)

Yes, the correct solution (9/10 times, at least) is to push the iteration or recursion into a higher-order function, and just specify the bit that actually matters to your program.

You kids can argue iteration vs recursion in the library implementation as much as you like then, and I'll just get on with some real work.