First-class citizen

From Wiki @ Karl Jones dot com
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