Problem with recursion? (was [plt-scheme] Re: Novice needs help writing function )

From: Grant Rettke (grettke at
Date: Fri Jan 4 11:10:29 EST 2008

On Jan 4, 2008 8:30 AM, Marco Morazan <morazanm at> wrote:
> There is nothing inherently hard about teaching recursion or having
> students understand recursion if it is done right and _before_
> teaching iteration with assignment.

> If students never "learn" that a function calling itself is
> "weird" or "hard to design," students usually do not get stuck with
> it. The important thing is that students can see that there is a
> structure that a program follows.

When I was taught about programming, recursion was taught as something
normal, so I thought it was normal.

There wasn't much of a focus, though, on the concept itself, of
iteration. The focus was more on the "how" rather than the "what".

"Wisdom begins in wonder!"

Posted on the users mailing list.