# Hardcoded Branch Constant

> Controlling a feature with a hardcoded constant in the code instead of an externally-managed flag.

Record: `lex:hardcoded-branch-constant`
Kind: anti-pattern
Layer: [Extensibility Core](https://banes-lab.com/records/layer/extensibility-core.md)
Canonical: https://banes-lab.com/ontology/lexicon#lex-hardcoded-branch-constant

## category

- [Plugin / Extensibility / IoC](https://banes-lab.com/records/lex-category/plugin-extensibility-ioc.md)

## referenced-by

- [Feature Toggle](https://banes-lab.com/records/arch/feature-toggle.md)
