OOT is a mini series on writing maintainable Object Oriented code without pulling your hair out. Click here for trick #1, trick #2.
- Lengthy list of function arguments are tedious for the calling code to use. It also makes it all too easy to pass arguments in the wrong order with little type safety, and can reduce readability of the code.
- They are hard to read and hard to understand till you double take on the function signature every time you call it.
“Each one can confuse and confound, breaking your flow as you’re reading down the code, causing you to double-take.” — Uncle Bob Martin
... read the whole story at hackernoon.com.
- Arguments make it harder to test a function.