Higher-order programming: Difference between revisions

Content deleted Content added
Simpler, and supported by the only citation available
Ruud Koot (talk | contribs)
remove C and PHP; these have rather brain damaged implementations of higher-order functions
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]].
 
Prominent examples of languages supporting this are [[C (programming language)|C]] (via function pointers), [[C Sharp (programming language)|C#]] (via lambda expressions), [[ECMAScript]] ([[ActionScript]], [[JavaScript]]), [[F Sharp (programming language)|F#]], [[Haskell (programming language)|Haskell]], [[Lisp (programming language)|Lisp]] ([[Common Lisp]], [[Scheme (programming language)|Scheme]], others), [[Lua (programming language)|Lua]], [[Oz (programming language)|Oz]], [[Perl (programming language)| Perl]], [[PHP]], [[Python (programming language)|Python]], [[Ruby (programming language)|Ruby]], [[Smalltalk]].
 
==External links==