Unless otherwise specified, all the source is from Wikipedia.


First-class citizen

A first-class citizen in a given programming language is an entity which supports all the operations generally available to other entities. These operations typically include being passed as an argument, returned from a function, and assigned to a variable.

First-class function

A programming language is said to have first-class functions if it treats functions as first-class citizen.

First-order function

Refer to higher-order function.


Higher-order function

A higher-order function is a function that takes functions as parameters, or returns a function. All other functions are first-order functions.

Last updated