[Tutor] RE: [Tutor][a plug for Scheme]

Scott Widney SWidney@ci.las-vegas.nv.us
Mon, 14 Jan 2002 17:48:13 -0800


<snipped comparison of functions and GOTO>

> There are other language implementations that handle 
> recursion in a way that removes this limitation.  
> Stackless Python: is a variant of Python that allows
> unlimited recursion by avoiding the use of a stack.

> The Scheme programming language: also handles unlimited
> recursion.  It's not Python, granted, but it's a very
> cool language to look at when you have the chance. 
> Learning recursion is easier in Scheme because,
> well, Scheme provides very little room to do looping
> without recursion.  *grin*

You're coming dangerously close to mentioning the bane of my mental
existence at the moment -- continuations (generators and iterators and
frames, oh my!). Anyone care to take a crack at explaining them in babytalk?
I'm looking for an analogy other than likening them to GOTO on steroids.

Scott
=^)