Variable

Noun · Development

Definitions

  1. A named storage location that holds a value which can be referenced and (in mutable languages) changed during program execution. The most fundamental building block of programming.

    In plain English: A named container in your code that holds a value — like a labeled box where you store a number, some text, or other data.

    Example: "Name your variables for what they represent, not what type they are. userAge beats i42."

Related Terms