Divergent change smell
From CSSEMediaWiki
(Difference between revisions)
RobertLechte (Talk | contribs) (New page: 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 co...) |
m (category) |
||
Line 1: | Line 1: | ||
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]]. | 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 == | ||
+ | * [[Code smells]] | ||
+ | |||
+ | [[Category:Code smells]] |
Revision as of 07:26, 1 August 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.