# Long Parameter List

> Methods with too many parameters are hard to understand and use.

- **Category**: Code Smells
- **Subcategory**: Bloaters
- **Canonical URL**: https://designpattern.fyi/patterns/long-parameter-list/

---

## Description
'**Intent**: Identify methods with long parameter lists that make the code hard to read and maintain.

**Context**: You have methods that require many parameters, making them difficult to call and understand. Adding new parameters requires changing all call sites.

**Solution**: Replace parameter lists with parameter objects, or use the Introduce Parameter Object refactoring.'



## Use Cases
Use when methods have more than 3-4 parameters, especially when related parameters are grouped together.









---
**Reference**: [Original Source](https://refactoring.guru/smells/long-parameter-list)

