Difference between revisions of "First-class citizen"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(etc)
 
Line 1: Line 1:
 
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.
 
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.
+
== 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)]]
 +
* [[Programming language]]
 +
* [[Subroutine]]
  
 
== 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:32, 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

External links