Rename Method
From CSSEMediaWiki
Revision as of 22:21, 14 October 2009 by Brett Ward (Talk | contribs)
If the name of a method does not fit the purpose of the method, then the method name should be changed to reflect the purpose.
Getting method names right the first time is generally a difficult task, but the temptation to leave it bad is the real demon to watch out for.
Martin Fowler also states that if reordering parameters or changing clarifies matters of naming, do it.
See Also: