[Python-Dev] Re: Proper tail recursion

David Abrahams dave at boost-consulting.com
Thu Jul 15 21:21:14 CEST 2004


"Andrew Koenig" <ark-mlist at att.net> writes:

>> > How about: Tail recursion "enables" recursion-oriented (functional)
>> > style? :)
>> 
>> Still -1.  I was understating my case: I find the "recursion is the
>> basis of everything" attitude harmful.
>
> I don't believe that recursion is the basis of everything.  Nevertheless, I
> do think that there are some algorithms that are much more easily expressed
> in recursive than in iterative terms, and I wish that Python did not impose
> a fixed limit on recursion depth.

I just want to add a quiet +1 to Michael and Andrew's eloquent posts.

+1

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com



More information about the Python-Dev mailing list