3 ms·
I'm not sure when I learned recursion, so I don't know if I can say whether or not I had any trouble with understanding it. I do know that once you understand
by cr0sh 7y ago
I'm not sure when I learned recursion, so I don't know if I can say whether or not I had any trouble with understanding it.
I do know that once you understand recursion, knowing how to properly change a routine to a stack or other non-recursive routine (generally because you keep blowing the return call stack because the nesting level gets too deep) can be tortuous at times depending on what the routine is doing.
So perhaps that might be an insight to how people facing recursion as a beginner might feel...?