Divergent change smell
From CSSEMediaWiki
(Difference between revisions)
m (category) |
m (Reverted edits by Ebybymic (Talk); changed back to last version by Matthew Harward) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
== See also == | == See also == | ||
* [[Code smells]] | * [[Code smells]] | ||
+ | |||
+ | {{Template:CodeSmells}} | ||
[[Category:Code smells]] | [[Category:Code smells]] |
Latest revision as of 03:18, 25 November 2010
This smell refers to making unrelated changes in the same location. If you're doing this, you're almost certainly violating the principles of one key abstraction and separation of concerns, and you should refactor your code. A common refactoring technique for fixing this is Extract Class.
See also