Incollection,

Avoiding recursion

.
Learning mathematics and logo, MIT Press, Cambridge, MA, USA, (1992)

Abstract

Functional languages such as Logo and Scheme generally use recursion as the main control mechanism, rather than iterative constructs such as while and for. Many beginning programmers find the idea of recursion difficult, and that gives these languages a bad reputation. Here I suggest that the use of higher-order procedures can allow a wide range of interesting programs to be written before the learner must confront the challenge of recursion.

Tags

Users

  • @yish

Comments and Reviews