z-logo
Premium
A simple language is also a functional language
Author(s) -
Wadler Philip
Publication year - 1985
Publication title -
software: practice and experience
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.437
H-Index - 70
eISSN - 1097-024X
pISSN - 0038-0644
DOI - 10.1002/spe.4380150207
Subject(s) - citation , simple (philosophy) , computer science , programming language , functional programming , linguistics , library science , world wide web , philosophy , epistemology
McKeag, Eves and Rooney’ provide an excellent example of how much can be achieved with a small language. One hopes that their example will inspire more researchers to search for features that can be omitted from a language, instead of features that can be added. By removing unused features from Logo, they have ended by designing a purely functional language, apparently without realizing that this is the case. Many researchers have argued in favour of functional languages, usually for theoretical reasons such as ease of mathematical manipulation (e.g. references 2 and 3). McKeag and company provide a much more practical argument: the assignment statement received little use! Roughly speaking, a functional language is one which prohibits all side effects. Clearly, prohibiting assignment statements matches the functional approach. But, at first sight, the use of commands to move the turtle may seem to violate the functional discipline. How, for instance, can a sequence of commands such as

This content is not available in your region!

Continue researching here.

Having issues? You can contact us here
Accelerating Research

Address

John Eccles House
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom