Talk:Long parameter list smell
From CSSEMediaWiki
(Difference between revisions)
(New page: 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 should be considered a re...) |
m (Reverted edits by Ebybymic (Talk); changed back to last version by Aidan Bebbington) |
||
(3 intermediate revisions by 2 users not shown) | |||
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) |
Latest revision as of 03:07, 25 November 2010
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)