first-class citizen
noun
- An entity that can be constructed at run-time, passed as a parameter, returned from a function, or assigned into a variable.
- An entity that can pass a value as a parameter, can be returned from a subroutine, and can be assigned into a variable. (This is the definition according to Raphael Finkel, who uses the terms of second- and third-class objects.)
- A member of a class of individuals that receive fair treatment.
Origin
Origin uncertain.
See also autology autological composite reuse principle vibe coding
Adapted from Wiktionary (CC BY-SA 4.0).