Higher-order programming: Difference between revisions

Content deleted Content added
add Prolog to the list, first reference for this article
BG19bot (talk | contribs)
m WP:CHECKWIKI error fix for #61. Punctuation goes before References. Do general fixes if a problem exists. - using AWB (9916)
Line 3:
For example, in higher-order programming, one can pass [[function (programming)|functions]] as arguments to other functions and functions can be the return value of other functions (such as in [[macro (computer science)|macros]] or for [[interpreter (computing)|interpreting]]). This style of programming is mostly used in [[functional programming]], but it can also be very useful in ''regular'' [[object-oriented programming]]. A slightly different interpretation of higher-order programming in the context of object-oriented programming are [[higher order message]]s, which let messages have other messages as arguments, rather than functions.
 
Prominent examples of languages supporting this are [[C Sharp (programming language)|C#]], [[ECMAScript]] ([[ActionScript]], [[JavaScript]], [[JScript]]), [[F Sharp (programming language)|F#]], [[Haskell (programming language)|Haskell]], [[Lisp (programming language)|Lisp]] ([[Common Lisp]], [[Scheme (programming language)|Scheme]], [[Clojure]], others), [[Lua (programming language)|Lua]], [[Oz (programming language)|Oz]], [[Perl]], [[Prolog]],<ref name=Naish1996>{{Cite report
| title = Higher-order logic programming in Prolog
| url = http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.35.4505
Line 10:
| publisher = Department of Computer Science, University of Melbourne
| accessdate = 2010-11-02
}}</ref>, [[Python (programming language)|Python]], [[Ruby (programming language)|Ruby]], [[Smalltalk]], [[Scala (programming language)|Scala]], [[ML (programming language)|ML]], and [[Erlang (programming language)|Erlang]].
 
==References==
{{reflist}}
 
==See also==
*[[Prolog#Higher-order programming]]
 
==References==
{{reflist}}
 
==External links==
* [http://w3future.com/html/stories/hop.xml "Higher Order Programming"] by Sjoerd Visscher (Uses JavaScript as example language)
 
{{compu-prog-stub}}
 
[[Category:Programming paradigms]]
 
 
{{compu-prog-stub}}