Fibonacci series recursion error

Paul Rudin paul.nospam at rudin.co.uk
Sat Apr 30 10:40:24 EDT 2011


Hans Georg Schaathun <hg at schaathun.net> writes:
> On 2011年4月30日 12:29:00 +0100, Paul Rudin
> <paul.nospam at rudin.co.uk> wrote:
> : Clearly it makes a difference in any case where you'd hit the recursion
> : limit.
>> What kind of problems make you hit the limit?
>> Other than when you forget the base case, I mean.

Anytime you have enough data... there are plenty of things that are natural to
represent as recursive data structures, and often you don't know in
advance how much data your code is going to have to deal with.


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /