News for hackers. Stuff that matters.
Re:Thinking About Recursion by ihoz on Thursday March 09, 2017 @09:28AM (#13829453)
Recursion is nothing more than implicitly using a stack (via the call stack) or explicitly with a loop.

You just won't get a stack overflow exception with the loop -- you'll run out of heap instead. It's still the stack filling up.

There are no comments on this comment yet.