Divergent change smell
From CSSEMediaWiki
(Difference between revisions)
m (category) |
m (→See also) |
||
Line 3: | Line 3: | ||
== See also == | == See also == | ||
* [[Code smells]] | * [[Code smells]] | ||
+ | |||
+ | {{Template:CodeSmells}} | ||
[[Category:Code smells]] | [[Category:Code smells]] |
Revision as of 09:35, 14 October 2009
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