Lexicon

Exposed Internal Representation

Kind: anti-pattern

Layer: Design Patterns Core

Record: lexicon:exposed-internal-representation

Canonical: Lexicon

Forcing clients to traverse a collection through its internal structure, coupling them to that structure.

Listed in Lexicon terms, after Duplicated Workflow and before External State Reach-In.

Category

  • Behavioral Patterns

Negated by

  • Iterator Pattern

Violates

  • Iterator Pattern

Linked from

  • Behavioral Patterns