shredbx logo
shredbx shredbx shredbx shredbx Personal
  • Home
  • Lab
  • Portfolio
  • Experience
  • Services
  • Profile
  • Contact
AClaude
  • Home
  • Lab
  • Portfolio
  • Experience
  • Services
  • Profile
  • Contact
Andrei Solovev
Knowledge
Search knowledge... ⌘K
Knowledge · Anti-Patterns

Smell Long Parameter List

Anti-pattern indicating need for refactoring

Andrei Solovev

Tags

refactoring-fowlercode-smellmaintainability

Impact

Long parameter lists are hard to understand, become inconsistent and difficult to use, and you are forever changing them as you need more data. With objects you don't pass in everything the method needs; instead you pass enough so that the method can get to everything it needs.

Symptoms

  • Methods with many parameters
  • Parameters that could be obtained from objects you already have
  • Multiple data items that should be an object

Source

Martin Fowler — Refactoring: Improving the Design of Existing Code, 1st Edition (1999)

shredbx logo shredbx shredbx shredbx shredbx Andrei Solovev

Solution Architect & Lead Software Engineer

ExperiencePortfolioResearch & ExperimentsEducationCertificationSkills
GitHub ↗LinkedIn ↗Email ↗
AVAILABLE FOR NEW PROJECTS
// MY LATEST BEATS
Hobby & Interests

Lab

  • The Lab
  • Framework
  • Components
  • Packages
  • Games
  • Process (SDLC)
  • Knowledge
  • Blog

Andrei

  • Portfolio
  • Experience
  • Services
  • Profile
  • Contact
  • Lifestyle

Team

  • Team
  • Andrei
  • Claude

Legal

  • Privacy
  • Terms
  • Cookies
© 2026 shredbx.com. All rights reserved. — Andrei Solovev |