Strange interaction between timeit and recursion

Diez B. Roggisch deets at nospam.web.de
Mon May 4 02:46:39 EDT 2009


namekuseijin schrieb:
> Recursion is unpythonic.  Do not use it.

Since when? Says who?

Lacking tail-recursion, it's not the choice for loops, but whatever 
algorithm is recursive can be written as such.

Diez



More information about the Python-list mailing list