Newsgroups: comp.lang.functional
From: Albert Lai <tre...@vex.net>
Date: 12 Jul 2003 00:33:45 -0400
Local: Sat, Jul 12 2003 12:33 am
Subject: Re: local variables don't cause side effects
"Marshall Spight" <mspi...@dnai.com> writes: Yes, five minutes after I posted that, I realized it was not so much > "Albert Lai" <tre...@vex.net> wrote in message news:4uznjm1dim.fsf@vex.net... > > There are people who find incarnation #1 obscure - "functions! Now I > > won't be able to follow which value goes to which argument and how! > > This is all Greek to me." > It strikes me that the thing about #1 that will cause consternation in some functions as recursion that scared that category of programmers. > Probably it's been a long time since anyone here hard a hard time thinking There are several ways of teaching programming. One way teaches how > about recursion, but it's a real sticking point in teaching programming. > I don't think loops with variables produce the same level of difficulty. to execute a program. Another way teaches how to solve a problem. Looping with variables is very easy to execute by hand. Recursion Recursion is more handy in solving problems. To add up 10 numbers, 0: clue := empty ) which is tedious, error-prone, and seldom convergent; or refinement Unfortunately as an artifact of teaching programming by execution and You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||