Talk:Replace Magic Number with Symbolic Constant

From CSSEMediaWiki
Revision as of 00:24, 15 October 2009 by TobiW (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

I don't think that it makes much sense to define the 10 outside of a function that calculates the x^10 and is called power10. Maybe just a bad example? Maybe defining the constant for 10 inside the function? I might be completely wrong because this is a refactoring method and they seem to be a little bit "over the top" sometimes!? --TobiW

Personal tools