RE: [CFCDev] recursive functions

2003-12-02 Thread Barney Boisvert
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 >

Re: [CFCDev] recursive functions

2003-12-02 Thread John Farrar
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

Re: [CFCDev] recursive functions

2003-12-02 Thread Doug Keen
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

RE: [CFCDev] recursive functions

2003-12-01 Thread Nando
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?

Re: [CFCDev] recursive functions

2003-12-01 Thread John Farrar
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

Re: [CFCDev] recursive functions

2003-12-01 Thread Matt Liotta
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

RE: [CFCDev] recursive functions

2003-12-01 Thread Nando
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] >

RE: [CFCDev] recursive functions

2003-12-01 Thread Barney Boisvert
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

RE: [CFCDev] recursive functions

2003-12-01 Thread Mark Stanton
> 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

RE: [CFCDev] recursive functions

2003-12-01 Thread Nando
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

Re: [CFCDev] recursive functions

2003-12-01 Thread Sean A Corfield
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

RE: [CFCDev] recursive functions

2003-12-01 Thread Patrick Branley
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

RE: [CFCDev] recursive functions

2003-12-01 Thread Barney Boisvert
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

Re: [CFCDev] recursive functions

2003-12-01 Thread John Farrar
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 >

Re: [CFCDev] recursive functions

2003-12-01 Thread Sean A Corfield
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

[CFCDev] recursive functions

2003-12-01 Thread Nando
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?