Difference between revisions of "First-class citizen"
From Wiki @ Karl Jones dot com
Karl Jones (Talk | contribs) |
Karl Jones (Talk | contribs) |
||
Line 3: | Line 3: | ||
== Description == | == Description == | ||
− | These operations typically include being passed as a [[parameter]], returned from a [[function]], and assigned to a [[variable]]. | + | These operations typically include being passed as a [[parameter]], returned from a [[Function (mathematics)|function]], and assigned to a [[Variable (computer science)|variable]]. |
== See also == | == See also == | ||
Line 12: | Line 12: | ||
* [[First-class function]] | * [[First-class function]] | ||
* [[Function_(mathematics)]] | * [[Function_(mathematics)]] | ||
+ | * [[Parameter]] | ||
* [[Programming language]] | * [[Programming language]] | ||
* [[Subroutine]] | * [[Subroutine]] | ||
+ | * [[Variable (computer science)]] | ||
== External links == | == External links == | ||
* [https://en.wikipedia.org/wiki/First-class_citizen First-class citizen] @ Wikipedia | * [https://en.wikipedia.org/wiki/First-class_citizen First-class citizen] @ Wikipedia |
Revision as of 05:33, 3 September 2015
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
- Computer program
- Computer programming
- Computer science
- First-class function
- Function_(mathematics)
- Parameter
- Programming language
- Subroutine
- Variable (computer science)
External links
- First-class citizen @ Wikipedia