Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Logo > Re: [LogoForum]...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 1564 of 1588
Post > Topic >>

Re: [LogoForum] Re: How can I shrink/grow squares in mswlogo

by "John St. Clair" <john.stclair@[EMAIL PROTECTED] > Feb 6, 2008 at 01:33 AM

The message below is being cross-posted from the LogoForum.  Please 
reply here at comp.lang.logo and it will be cross-posted back to the 
LogoForum.  The original author of this message is 
pavel@[EMAIL PROTECTED]
 Harvey wrote:
> The moral of this is that "recursion" and "tail recursion" are names for
a
> specific programming technique (a procedure calling itself, and a
procedure
> tail-calling itself, respectively), NOT names for a general
problem-solving
> technique, such as "iteration," which means, more or less, doing the
same
> thing over and over.

I agree that there are differences in terminology. Especially for me 
there are two meanings of iteration. The broad meaning of iteration is 
something like 'traversal' and it includes 'recursive iteration'. The 
narrow meaning of iteration is something like linear not-self 
referencing sequential traversal.

So, by default I think of recursive and iterative as methods of reaching 
the solution. These meanings of 'recursive' and 'iterative' are much 
closer to their mathematical meaning (eg. see X!)
recursive definition: X! = X * (X-1)!
iterative definition: X! = X * (X-1) * (X-2) * ... * 2 * 1

Also, for me 'tail recursion' is not at the same level of abstraction as 
'recursion'. Tail recursion is at a lower level -- it specifies 
implementation issues. For the end user a tail and a non-tail recursions 
are the same.

Pavel

__._,_.___
LogoForum messages are archived at: 
http://groups.yahoo.com/group/LogoForum




 1 Posts in Topic:
Re: [LogoForum] Re: How can I shrink/grow squares in mswlogo
"John St. Clair"  2008-02-06 01:33:50 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed May 14 5:52:14 CDT 2008.