Jump to content

Higher-order programming

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Kengo.nakajima (talk | contribs) at 17:54, 7 October 2005. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Higher Order Programming is the ability to use functions as values.

So you can pass functions as arguments to other functions and functions can be the return value of other functions. This style of programming is mostly used in functional programming, but it can also be very useful in 'regular' object oriented programming. A good example of this is the Ruby Programming Language, which combines all the advantages of pure object oriented programming and higher order programming.



(This article is licensed by CC "by". taken from http://w3future.com/html/stories/hop.xml I couldn't check who exactly wrote this original article. )