Transcription of Why Functional Programming Matters
{{id}} {{{paragraph}}}
From Research Topics in Functional Programming ed. D. Turner, Addison-Wesley, 1990, pp 17 ProgrammingMattersJohn HughesThe University, GlasgowAbstractAs software becomes more and more complex, it is more and moreimportant to structure it well. Well-structured software is easy to writeand to debug, and provides a collection of modules that can be reusedto reduce future Programming costs. In this paper we show that two fea-tures of Functional languages in particular, higher-order functions and lazyevaluation, can contribute significantly to modularity. As examples, wemanipulate lists and trees, program several numerical algorithms, and im-plement the alpha-beta heuristic (an algorithm from Artificial Intelligenceused in game-playing programs). We conclude that since modularity is thekey to successful Programming , Functional Programming offers importantadvantages for software IntroductionThis paper is an attempt to demonstrate to the larger community of (non- Functional ) programmers the significance of Functional Programming , and alsoto help Functional programmers exploit its advantages to the full by making itclear what those advantages Programming is so called because its fundamental operation isthe application of functions to arguments.
From“ResearchTopicsinFunctionalProgramming”ed. D.Turner, Addison-Wesley, 1990, pp17–42. 1 Why Functional Programming Matters John Hughes The University, Glasgow
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}