Divergent change smell

From CSSEMediaWiki
(Difference between revisions)
Jump to: navigation, search
(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 (Reverted edits by Ebybymic (Talk); changed back to last version by Matthew Harward)
 
(3 intermediate revisions by 3 users not shown)
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]]
 +
 +
{{Template:CodeSmells}}
 +
 +
[[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


Personal tools