s
possible, but never crossing any of the relationship lines.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Nando
> Sent: Monday, December 01, 2003 6:14 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [CFCDev] recursive functions
>
Message -
From: "Doug Keen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 02, 2003 10:02 AM
Subject: Re: [CFCDev] recursive functions
> You may want to check out this article:
> http://www.sitepoint.com/article.php/1105
>
> It's a reall
e-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nando
Sent: Monday, December 01, 2003 3:25 PM
To: [EMAIL PROTECTED]
Subject: RE: [CFCDev] recursive functions
I'm caching the results of a few recursive function in an
object that create
a tree structure of the site nav an
ent: Tuesday, December 02, 2003 4:16 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [CFCDev] recursive functions
>
>
> I know this is likely mentioned in one of the posts and I missed it... but
> why wouldn't you just create a UDF that calls itself for the recursive
> function?
I know this is likely mentioned in one of the posts and I missed it... but
why wouldn't you just create a UDF that calls itself for the recursive
function? The udf can be run as a part of a CFC and then inside the CFC it
would call itself... right. (Or the primary UDF would call an internal UDF
tha
Sometimes implementing an algorithm with a loop makes for horrendous
code whereas recursive code can be elegant and simple - consider
algorithms for processing tree-structured data!
It depends. Recursion relies on function calls which can be expensive
(creating a stack frame, pushing variables
asier to break (CFBREAK) than a recursive
> function.
>
> Cheers,
> barneyb
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Nando
> > Sent: Monday, December 01, 2003 3:25 PM
> > To: [EMAIL PROTECTED]
>
CFBREAK) than a recursive
function.
Cheers,
barneyb
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Nando
> Sent: Monday, December 01, 2003 3:25 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [CFCDev] recursive functions
>
> I
> If you are looking to do a data recursion... you could glean from some
> speedy data tree concepts like this also... if not... it will
> help you with
> data recursion when you get there.
>
> http://www.sitepoint.com/article/1105/2/session
I've just got to say I'm a huge fan of the method descri
i
haven't looked into it yet.
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf Of Sean A Corfield
> Sent: Monday, December 01, 2003 11:40 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [CFCDev] recursive functions
>
>
> On Dec 1, 20
On Dec 1, 2003, at 1:47 PM, Patrick Branley wrote:
This is a very good point. Anything that can be done with recursion
can also
be done using a loop.
Sometimes implementing an algorithm with a loop makes for horrendous
code whereas recursive code can be elegant and simple - consider
algorithms f
Sent: Sunday, November 30, 2003 11:26 PM
> To: [EMAIL PROTECTED]
> Subject: [CFCDev] recursive functions
>
> I got a recursive function working to generate a site map
> today based on an
> example i found, (very cool how that works! many thanks go to Barney
> Boisvert for the orig
r 30, 2003 11:26 PM
> To: [EMAIL PROTECTED]
> Subject: [CFCDev] recursive functions
>
> I got a recursive function working to generate a site map
> today based on an
> example i found, (very cool how that works! many thanks go to Barney
> Boisvert for the original idea), but i
field" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 01, 2003 11:06 AM
Subject: Re: [CFCDev] recursive functions
> On Nov 30, 2003, at 11:25 PM, Nando wrote:
> > I got a recursive function working to generate a site map today based
> > on an
>
On Nov 30, 2003, at 11:25 PM, Nando wrote:
I got a recursive function working to generate a site map today based
on an
example i found, (very cool how that works! many thanks go to Barney
Boisvert for the original idea), but i'm not sure i could have come up
with
that on my own. Does anyone know
I got a recursive function working to generate a site map today based on an
example i found, (very cool how that works! many thanks go to Barney
Boisvert for the original idea), but i'm not sure i could have come up with
that on my own. Does anyone know of any good resources on recursive
functions?
16 matches
Mail list logo