First class citizen

/fɜrst klæs ˈsɪtəzən/ noun phrase

Definition

A programming language entity that supports all operations generally available to other entities, including being passed as arguments, returned from functions, assigned to variables, and created at runtime. These entities have no restrictions on their use.

Etymology

The term borrows from political science, where 'first-class citizen' refers to full membership rights in a society. It was adopted in programming to describe language features with full privileges, contrasting with restricted or second-class features.

Kelly Says

First-class citizens in programming are like VIP members who can go anywhere and do anything - functions that can be stored in variables, passed around like data, and created on the fly! This is why JavaScript is so flexible - functions are first-class, so you can treat them like any other value.

Ethical Language Guidance

Gender History

Legal term from citizenship law, which historically excluded women from full civic rights. When applied metaphorically to programming, it retains hierarchical framing ('citizen' vs. non-citizen status).

Inclusive Usage

Prefer 'first-class value' or 'first-rank construct' to avoid importing citizenship-based hierarchy.

Inclusive Alternatives

["first-rank construct","first-class value","primary language construct"]

Related Words

Explore More Words

Get the Word Orb API

Complete word intelligence in one call. Free tier — 50 lookups/day.