First-class citizen

From Wiki @ Karl Jones dot com
Revision as of 04:25, 22 April 2016 by Karl Jones (Talk | contribs) (See also)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

In programming language design, a first-class citizen (also object, entity, or value) in a given programming language is an entity which supports all the operations generally available to other entities.

Description

These operations typically include being passed as a parameter, returned from a function, and assigned to a variable.

See also

External links