Re: Difference between for and while loop
On Sat, Apr 19, 2003 at 02:35:16AM +1200, Richard Hector wrote:
> I saw a classmate several years ago code his main event loop by recursing
> main() - it ran out of memory very quickly :-)
He should have used a language that uses tail recursion, like some
lisps. They reuse a stack frame if it can be proven that the current one
will not be needed again. That makes infinite recursion without memory
problems possible
Frank
>
> Richard
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: