🎉 October Learning Month — learn a new software term every day!
An interactive flashcard trainer for software engineering terms.

Variable

In plain terms

A named storage location holding a value.

Going deeper

A variable associates a name with a value that can be read and, usually, changed during execution. It's a labeled container for data.

Under the hood

Has a type, scope, and lifetime; mutable variables can change, constants cannot.

Examples

x = 5, counters, state, storing data, named values.

Think of it like...

Like a labeled box you store a value in and can swap out later.

Feedback & Bug Report