---
library: "bootstrap"
slug: "Variable"
name: "Variable"
ref: "Variable#5333"
hash: "sema:Variable#mh:SHA-256:5333c0009a269825753bf5470554844285c46920c32e3d46ed71403090224dc7"
type: "Data Structures"
layer: "Infrastructure"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/Variable"
---

# Variable

Mutable value

Infrastructure · Data Structures

## Mechanism

A named container whose contents can change while the name continues to refer to the same thing. A dimension of freedom in the problem space: what varies is the contents, not the identity.

## Invariants

- The name denotes the same variable before and after its contents change.
- A reported value carries when it was read.

## Failure modes

- Stale read treated as current, so a clock difference is attributed to the parties.
- Identity reused: one name rebound to something that is not a later state of the same quantity.

## Where this came from

—

## Used by

- [AntifragileInversion](https://semahash.org/vocabularies/bootstrap/patterns/AntifragileInversion.md) (references)
- [Correlation](https://semahash.org/vocabularies/bootstrap/patterns/Correlation.md) (references)
- [Uncertain](https://semahash.org/vocabularies/bootstrap/patterns/Uncertain.md) (references)

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: Variable#5333
- Hash: sema:Variable#mh:SHA-256:5333c0009a269825753bf5470554844285c46920c32e3d46ed71403090224dc7

## Links

- Page: https://semahash.org/vocabularies/bootstrap/patterns/Variable
- JSON: https://semahash.org/vocabularies/bootstrap/patterns/Variable.json
- Library: https://semahash.org/vocabularies/bootstrap
- Library index: https://semahash.org/vocabularies/bootstrap/index.json
