[plt-scheme] List loop timing

From: Prabhakar Ragde (plragde at uwaterloo.ca)
Date: Fri Feb 15 14:21:52 EST 2008

Carl Eastlund wrote:

> Personally, I learned how to write linear-time reverse in a lesson on
> accumulators, in which tail recursion wasn't once mentioned (mostly
> because I was programming in C).  You're used to seeing it tied up
> with tail recursion, but the tie is not inherent.

Fair enough. I learned it that way, too, in Pascal. I have the fortune 
of being able to teach it in the other direction (Scheme->C) this term. 
I wish I'd had the fortune to learn it this way. --PR


Posted on the users mailing list.