Code Smell 10 - Too Many Arguments
Objects or Functions need too many arguments to work.
TL;DR: Don't pass more than three arguments to your functions.
Problems ๐
Low maintainability
Low Reuse
Coupling
Solutions ๐
Find cohesive relations among arguments
Create a "context".
...
maximilianocontieri.com2 min read