Rename Method
From CSSEMediaWiki
(Difference between revisions)
Brett Ward (Talk | contribs) m |
|||
Line 5: | Line 5: | ||
[[Martin Fowler]] also states that if reordering parameters or changing them clarifies matters of naming, do it. | [[Martin Fowler]] also states that if reordering parameters or changing them clarifies matters of naming, do it. | ||
− | == See Also: == | + | >== See Also: == |
{{Refactoring}} | {{Refactoring}} | ||
+ | |||
+ | ---- | ||
+ | <div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;"> | ||
+ | ---- | ||
+ | =[http://adutaqaqoq.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]= | ||
+ | ---- | ||
+ | =[http://adutaqaqoq.co.cc CLICK HERE]= | ||
+ | ---- | ||
+ | </div> |
Revision as of 02:31, 18 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: ==