On Mon, Nov 28, 2005 at 05:53:24AM +1100, Tess Snider wrote:
> On 11/27/05, Crossfire <[EMAIL PROTECTED]> wrote:
> > This is a case of recursion.
> 
> Crossfire (and others) gave you good answers.  Now I'm going to give
>  [ .. ]


I'm surprised that no-one has mentioned that to
understand recursion, first you have to understand
recursion!   :-)

Seriously, saying that this is recursion is not
explanatory, it's just a label.  You almost may as
well say it's an example of flimperginitty.

I think the best way to figure out what is
happening is paste the entire text of the function
factorial at the place where it's called, with
the literal value that's being passed.
Then do it again.[1]


Matt
1. but stop sometime :-)
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to