Once and only once

From CSSEMediaWiki
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 +
----
 +
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
 +
----
 +
=[http://ovarynetyv.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=
 +
----
 +
=[http://ovarynetyv.co.cc CLICK HERE]=
 +
----
 +
</div>
 
The idea here is that no code should be repeated if that code is being used to perform the same operation.
 
The idea here is that no code should be repeated if that code is being used to perform the same operation.
 
This refers to [[Duplicate code smell]]
 
This refers to [[Duplicate code smell]]

Revision as of 10:56, 24 November 2010


The idea here is that no code should be repeated if that code is being used to perform the same operation. This refers to Duplicate code smell

More specifically no behaviour should be duplicated. Any place where this is found to be happening Extract Method should be applied.

See also

Personal tools