Talk:Long parameter list smell

From CSSEMediaWiki
(Difference between revisions)
Jump to: navigation, search
m (Reverted edits by Ebybymic (Talk); changed back to last version by Aidan Bebbington)
 
Line 1: Line 1:
=[http://ezapazuhem.co.cc Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy 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".  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)
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)

Personal tools