Difference between revisions of "First-class citizen"
From Wiki @ Karl Jones dot com
Karl Jones (Talk | contribs) |
Karl Jones (Talk | contribs) (→See also) |
||
(2 intermediate revisions by 2 users not shown) | |||
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 11: | Line 11: | ||
* [[Computer science]] | * [[Computer science]] | ||
* [[First-class function]] | * [[First-class function]] | ||
− | * [[ | + | * [[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 | ||
+ | |||
+ | [[Category:Computer programming]] | ||
+ | [[Category:Computer science]] |
Latest revision as of 04:25, 22 April 2016
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