Code Smells

Code Smells / Bloaters / Long Parameter List

Long Parameter List code smell icon

Long Parameter List

Long Parameter Lists are methods that have many arguments (parameters). This could be a sign that the method is responsible for too many tasks, or that the input data is poorly organised.

def long_parameter_list(self, arg_1, arg_2, arg_3, arg_4, arg_5, arg_6):
    pass
Left chevron Right chevron

Books about code smells

Learn to write better smelling code.

Refactoring: Improving the Design of Existing Code book cover

Refactoring: Improving the Design of Existing Code

Code smells: A Predictor of Remarkable Quality Improvement book cover

Code smells: A Predictor of Remarkable Quality Improvement

Clean Code: A Handbook of Agile Software Craftsmanship book cover

Clean Code: A Handbook of Agile Software Craftsmanship

I receive a commission on sales made from the above affiliate links.