Functional Programming and python

Chris Angelico rosuav at gmail.com
Tue Oct 1 03:28:04 EDT 2013


On Tue, Oct 1, 2013 at 11:36 AM, rusi <rustompmody at gmail.com> wrote:
>> (But I do sometimes yearn for a goto.)
>
> Ha! In Scheme, a tail call IS a goto with parameter re-assignment

Precisely. In fact, tail call optimization basically consists of that
exact rewrite. I'm absolutely fine with it being completely explicit.

ChrisA



More information about the Python-list mailing list