Lexicon

Explicit Dependency

Kind: technique

Layer: Structural Core

Record: lexicon:explicit-dependency

Canonical: Lexicon

A technique for declaring what a module needs as parameters or imports instead of reaching it through global state.

Listed in Lexicon terms, after Centralize the Rule and before Localize Effect.

Category

  • Core Modular Design

Refactors

  • Action at a Distance
  • Causal Dependency

Linked from

  • Anti-patterns
  • Causality / Ordering / Distributed Time
  • Plugin / Extensibility / IoC