Redundant code
Wikipedia, the free encyclopedia - Cite This SourceRedundant code is a computer programming term for code that is executed but has no effect on the output of a program (dead code is the term applied to code that is never executed).
Some developers also apply this term to what is essentially duplicate code. The argument being that the second and subsequent copies of functionally the same code are redundant because they could all be encapsulated in (for instance) a function definition.
A NOP might be considered to be redundant code that has been explicitly inserted to pad out the instruction stream or introduce a time delay.
Wikipedia, the free encyclopedia © 2001-2006 Wikipedia contributors (Disclaimer)
This article is licensed under the GNU Free Documentation License.
Last updated on Saturday February 02, 2008 at 18:49:02 PST (GMT -0800)
View this article at Wikipedia.org - Edit this article at Wikipedia.org - Donate to the Wikimedia Foundation