first-class citizen

The term "first-class citizen" is used both in social contexts to describe individuals with full rights and in programming to describe entities with full capabilities.

πŸ‡ΊπŸ‡Έ US Voice:
πŸ‡¬πŸ‡§ UK Voice:

Definition

B2Society

(general)A person who enjoys all the rights, privileges, and opportunities available in a society.

Example

  • In a fair society, everyone should be treated as a first-class citizen.
  • She fought for her rights to be recognized as a first-class citizen.

C1Programming

(technical)An entity in a programming language that can be passed as an argument, returned from a function, and assigned to a variable.

Example

  • In JavaScript, functions are first-class citizens.
  • Treating objects as first-class citizens allows for more flexible code.

Similar

Terms that have similar or relatively close meanings to "first-class citizen":

second-class citizenfirst-class objectfirst classsecond classupper class