Lexicon

Hidden IO

Kind: anti-pattern

Layer: Computation Core

Record: lexicon:hidden-io

Canonical: Lexicon

Performing input/output inside a supposedly pure function, hiding side effects from callers.

Listed in Lexicon terms, after Hidden Behavior and before Hidden Time/Randomness/Global State.

Category

  • Correctness / Determinism / Verification

Negated by

  • Pure Functions

Violates

  • Pure Functions

Linked from

  • Correctness / Determinism / Verification