Re: Calling functions recursively

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If you mean that it would be more straight forward, hence neater and more
comprehensive and more maintenance and stack friendly to just call the
function in a loop, I agree.

On the other hand ... well, there are arguments for the recursive approach
for a number of algorithms.

Personally I prefer not to use recursive functions, have never really seen
the absolute necessity to do so.

Roberto

----- Original Message -----
From: "Jason Wong" <php-db@gremlins.biz>
Subject: Re:  Calling functions recursively


> On Saturday 25 January 2003 14:49, Kevin Gordon wrote:
> > Can functions / methods be called recursively? If so how can this be
> > done? Comments much appreciated.
>
> google > "php recursive functions"
>
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.biz
> Open Source Software Systems Integrators
> * Web Design & Hosting * Internet & Intranet Applications Development *
>
>
> /*
> QOTD:
> "I've just learned about his illness.  Let's hope it's nothing
> trivial."
> */




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux