Recursive Techniques in Programming by D.W. Barron

Recursive Techniques in Programming



Download Recursive Techniques in Programming




Recursive Techniques in Programming D.W. Barron ebook
ISBN: 0444199861, 9780444199867
Publisher: Elsevier
Page: 71
Format: djvu


Some of the techniques occur multiple times, and can be considered idioms of Arc programming; techniques that can be applied to many problems. Recursion is not just applicable to Java. In Scala it is common to write in a functional style, and recursion is a technique frequently used in functional programming. Some data structures such as tree structures lend themselves far more easily to manipulation by recursive techniques. Recursion can be a powerful programming technique when used wisely. The techniques described focus largely on macros and recursion. Recursion is a programming technique which function calls itself , this seems strange , however it is one of the most interested and effective technique in programming. Tail-Call Optimization (a.k.a Tail Recursion) is a technique often used in functional programming languages that promotes the use of recursion rather than imperative loops to perform iterative calculations. A recursive function is a function that calls itself (directly or indirectly). It is a good technique to use in many programming applications unless its use becomes too esoteric.

Other ebooks: