First-class citizen

From Wiki @ Karl Jones dot com
Revision as of 06:49, 15 June 2015 by Karl Jones (Talk | contribs) (etc)

(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.

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

External links