Rename Method
From CSSEMediaWiki
(Difference between revisions)
Brett Ward (Talk | contribs) m |
m (Reverted edits by Ebybymic (Talk); changed back to last version by Brett Ward) |
(One intermediate revision by one user not shown) |
Latest revision as of 03:23, 25 November 2010
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 them clarifies matters of naming, do it.
See Also: