# Direct External Coupling

> Coupling code directly to an incompatible external interface, spreading its idiosyncrasies through the codebase.

Record: `lexicon:direct-external-coupling`
Kind: anti-pattern
Layer: [Design Patterns Core](https://banes-lab.com/records/layer/design-patterns-core.md)
Canonical: https://banes-lab.com/ontology/lexicon#lexicon-direct-external-coupling

Listed in [Lexicon terms](https://banes-lab.com/api/records/lexicon.md), after [Direct Access](https://banes-lab.com/records/lexicon/direct-access.md) and before [Leaf-vs-Container Special-Casing](https://banes-lab.com/records/lexicon/leaf-vs-container-special-casing.md).

## Category

- [Structural Patterns](https://banes-lab.com/records/lexicon-category/structural-patterns.md)

## Negated by

- [Adapter Pattern](https://banes-lab.com/records/architecture/adapter-pattern.md)

## Linked from

- [Structural Patterns](https://banes-lab.com/ontology/principles/architecture-category-structural-patterns.md)
