Wednesday, April 22, 2009

Tail recursion elimination in python

Neopythonic: Tail Recursion Elimination


After doing a lot of reading and playing w/ lisp, scheme and clojure, I find it interesting that Guido has no interest in tail recursion optimization.  However, I must say that python, which is my day job, has certainly stood the test of time.  It is a surprisingly powerful language and has been in almost all cases "fast enough" for what we do.  It doesn't have a few of the lisp niceties such as macros, etc, but you can do a surprising number of lisp tricks with it.


0 comments: