Strange interaction between timeit and recursion

Diez B. Roggisch deets at nospam.web.de
Mon May 4 08:46:39 CEST 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