Lexicon

Introduce Parameter Object

Kind: technique

Layer: Structural Core

Record: lexicon:introduce-parameter-object

Canonical: Lexicon

A technique for replacing a group of parameters that travel together with one named object.

Listed in Lexicon terms, after Restrict Exports and before Separate Query from Command.

Category

  • Core Modular Design

Refactors

  • Boolean Trap
  • Long Parameter List
  • Do Not Repeat Yourself
  • Reusability

Linked from

  • Anti-patterns
  • Core Modular Design