Long Parameter List

This smell occurs when a method accepts a long list of parameters. According to Fowler "...long parameter lists are hard to understand, because they become inconsistent and difficult to use, and because you are forever changing them as you need more data."

Tools

The following set of tools detects this smell: Designite(for C#) DesigniteJava(for Java)

Reference

M. Fowler, “Refactoring: Improving the Design of Existing Code”. Addison-Wesley, 1999.


Implementation Smells

Home

All rights reserved (c) Tushar Sharma 2017-21.