Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Argument starter - The roots of all evil
Message
 
À
16/09/2004 03:23:07
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00938079
Message ID:
00943751
Vues:
32
>Hi George,
>
>>This problem doesn't require a recursive solution even though one could be implemented.
>
>I absolutely agree. It is better of with a non-recursive solution.
>
>>However, in some cases a recursive solution isn't only the best way, it's the only way.
>
>Some say that every recursive routine could be rewritten into a non recursive one. I really did not validate this statement, but I do know that some problems are much better handled recursively.
>
>It seems we are on the same line.
>
Walter,

Consider searching a b-tree. To me, a recursive search isn't only the best way, it's the only way. Could a non-recursive search be implemented? Probably, but I wouldn't want to maintain it.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform