Re:It Is What It Is (And Nothing Else) – Why Recursion Still...
by vdnkh on Monday February 22, 2016 @08:51AM
(#11150747)
I suppose I had trouble with recursion until I understood that each call should strive to be stateless - meaning, you don't try and remember previous results. Each new call should be just the same as the initial. You only act on the current set and try to reduce the problem further. Trying to remember previous iterations results in a lot of headaches.
[ Parent
| on HN ]
There are no comments on this comment yet.