First-class citizen
Concept in programming language design / From Wikipedia, the free encyclopedia
Dear Wikiwand AI, let's keep it short by simply answering these key questions:
Can you list the top facts and stats about First-class citizen?
Summarize this article for a 10 year old
SHOW ALL QUESTIONS
For the usage in society, see Second-class citizen.
In a given programming language design, a first-class citizen[lower-alpha 1] is an entity which supports all the operations generally available to other entities. These operations typically include being passed as an argument, returned from a function, and assigned to a variable.[1]