Remove Parameter
From CSSEMediaWiki
(Difference between revisions)
Brett Ward (Talk | contribs) (New page: If a method does not use a parameter in its body, then the parameter should simply be removed. Parameters imply data that is ''needed''. If it is the case that some uses of the method nee...) |
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:18, 25 November 2010
If a method does not use a parameter in its body, then the parameter should simply be removed.
Parameters imply data that is needed. If it is the case that some uses of the method need the parameter, you may need to make this method seperate, having a version with and without the parameter.
See Also: