Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Argument starter - The roots of all evil
Message
 
To
19/09/2004 04:55:14
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00938079
Message ID:
00944373
Views:
36
>Hi George,
>>The biggest problem I see with a non-recursive search is one on maintainance. A directory tree might have been a better example.
>
>>In that situation, as I stated elsewheres in this thread, a recursive search is this best and most maintainable solution.
>
>I agree (Assuming that you search into a tree where you've to walk through every node). Many non-recursive solutions have a significant (often buggy) overhead in achieving the same as the mechanism of preserving the variables on that call stack level. If you find yourself in doing just that, you have to wonder if a recursive soltuion would make sense.
>
Walter,

Exactly. For example, the non-recursive search I posted earlier could be done recursively. What's the point, however?
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform