H.Boldt
Recursion is definitely one of the more fun programming techniques. Sometimes, recursion is the obvious first solution to some tough programming problem. But one general principle of recursion is that there\'s [b>always[/b> an iterative solution that\'s more efficient. In the INCR case, note that we have an example of "tail recursion". That is, the recursive call is one of the last things done in the procedure. Such a recursive procedure is easy to convert into a faster, iterative procedure by coding a loop around the code. Cheers! Hans
Please login to make comments.
User Rating: / 0
PoorBest 

WHITE PAPERS

The following White Papers can be found at the MC White Paper Center

 

 


   MC-STORE.COM