# Name Constant

> A technique for replacing an unexplained literal with a named constant that states its meaning.

Record: `lexicon:name-constant`
Kind: technique
Layer: [Structural Core](https://banes-lab.com/records/layer/structural-core.md)
Canonical: https://banes-lab.com/ontology/lexicon#lexicon-name-constant

Listed in [Lexicon terms](https://banes-lab.com/api/records/lexicon.md), after [Name the Concept](https://banes-lab.com/records/lexicon/name-the-concept.md) and before [Replace Boolean with Enum](https://banes-lab.com/records/lexicon/replace-boolean-with-enum.md).

## Category

- [Core Vocabulary](https://banes-lab.com/records/lexicon-category/core-vocabulary.md)

## Refactors

- [Magic Value](https://banes-lab.com/records/architecture/magic-value.md)

## Linked from

- [Anti-patterns](https://banes-lab.com/ontology/principles/architecture-category-anti-patterns.md)
