Treceți offline cu aplicația Player FM !
Code Smell 10: Functions With Too Many Arguments
Manage episode 525596393 series 3474159
This story was originally published on HackerNoon at: https://hackernoon.com/code-smell-10-functions-with-too-many-arguments.
Passing too many arguments to functions hurts maintainability. Learn how to refactor parameters into meaningful domain objects.
Check more stories related to programming at: https://hackernoon.com/c/programming. You can also check exclusive content about #clean-code, #code-refactoring, #refactor-legacy-code, #object-oriented-design, #software-design-principles, #extract-class-refactoring, #method-object-pattern, #maintainable-code, and more.
This story was written by: @mcsee. Learn more about this writer by checking @mcsee's about page, and for more stories, please visit hackernoon.com.
Functions with long argument lists hide domain knowledge, reduce reuse, and increase coupling. Refactoring parameters into cohesive domain objects restores clarity, intent, and maintainability.
481 episoade
Manage episode 525596393 series 3474159
This story was originally published on HackerNoon at: https://hackernoon.com/code-smell-10-functions-with-too-many-arguments.
Passing too many arguments to functions hurts maintainability. Learn how to refactor parameters into meaningful domain objects.
Check more stories related to programming at: https://hackernoon.com/c/programming. You can also check exclusive content about #clean-code, #code-refactoring, #refactor-legacy-code, #object-oriented-design, #software-design-principles, #extract-class-refactoring, #method-object-pattern, #maintainable-code, and more.
This story was written by: @mcsee. Learn more about this writer by checking @mcsee's about page, and for more stories, please visit hackernoon.com.
Functions with long argument lists hide domain knowledge, reduce reuse, and increase coupling. Refactoring parameters into cohesive domain objects restores clarity, intent, and maintainability.
481 episoade
כל הפרקים
×Bun venit la Player FM!
Player FM scanează web-ul pentru podcast-uri de înaltă calitate pentru a vă putea bucura acum. Este cea mai bună aplicație pentru podcast și funcționează pe Android, iPhone și pe web. Înscrieți-vă pentru a sincroniza abonamentele pe toate dispozitivele.