Talk:Long parameter list smell
From CSSEMediaWiki
(Difference between revisions)
Line 1: | Line 1: | ||
− | I think the description of this smell ignores [[Tell, don't ask]]: "... you can always ask another object to get that piece of data for you". I don't think this | + | I think the description of this smell ignores [[Tell, don't ask]]: "... you can always ask another object to get that piece of data for you". It also suggests as a refactoring technique that you could "get the data required for a parameter by requesting it from an object you already know about". I don't think this would be a good idea; it would increase coupling. --[[User:Aidan Bebbington|Aidan]] 23:20, 1 August 2009 (UTC) |
Revision as of 23:22, 1 August 2009
I think the description of this smell ignores Tell, don't ask: "... you can always ask another object to get that piece of data for you". It also suggests as a refactoring technique that you could "get the data required for a parameter by requesting it from an object you already know about". I don't think this would be a good idea; it would increase coupling. --Aidan 23:20, 1 August 2009 (UTC)