Add Parameter
From CSSEMediaWiki
Revision as of 22:16, 14 October 2009 by Brett Ward (Talk | contribs)
A very common refactoring, it consists of adding a new parameter to get the information needed when altering a method.
Martin Fowler advises against using this without looking at alternative sources for the information first, such as asking objects in existing parameters for the information, or considering Introduce Parameter Object. If alternatives do not fit, then add the parameter.
See Also: