Luke Lee

Software Engineer

Web + Desktop + Science

Fork me on Github

Tail-recursion with Python generators

The title sounds a bit complicated. Stick with it though because it's a really cool concept.

The following article is a bit academic, but the author does a great job of explaining an interesting and useful technique for a problem you'll quickly run into when doing recursion with Python. Bookmark it now before you really need it.

Bouncing Python's Generators With a Trampoline

Published: 08-27-2012 14:03:00

lukelee.net