Redundant code

Redundant code

Redundant 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.


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • redundant code — perteklinis kodas statusas T sritis automatika atitikmenys: angl. redundant code vok. redundanter Code, m rus. избыточный код, m pranc. code à redondance, m; code redondant, m …   Automatikos terminų žodynas

  • Redundant code — Избыточный код …   Краткий толковый словарь по полиграфии

  • code redondant — perteklinis kodas statusas T sritis automatika atitikmenys: angl. redundant code vok. redundanter Code, m rus. избыточный код, m pranc. code à redondance, m; code redondant, m …   Automatikos terminų žodynas

  • code à redondance — perteklinis kodas statusas T sritis automatika atitikmenys: angl. redundant code vok. redundanter Code, m rus. избыточный код, m pranc. code à redondance, m; code redondant, m …   Automatikos terminų žodynas

  • Code bloat — is the production of code that is perceived as unnecessarily long, slow, or otherwise wasteful of resources. Code bloat can be caused by inadequacies in the language in which the code is written, inadequacies in the compiler used to compile the… …   Wikipedia

  • Code reuse — Code reuse, also called software reuse, is the use of existing software, or software knowledge, to build new software.[1] Contents 1 Overview 2 Types of reuse 3 Examples …   Wikipedia

  • Redundant Array of Independent Disks — Der Begriff RAID steht für englisch redundant array of independent disks (deutsch: Redundante Anordnung unabhängiger Festplatten, ursprünglich: redundant array of inexpensive disks, deutsch: Redundante Anordnung kostengünstiger Festplatten, was… …   Deutsch Wikipedia

  • Redundant Array of Inexpensive Disks — Der Begriff RAID steht für englisch redundant array of independent disks (deutsch: Redundante Anordnung unabhängiger Festplatten, ursprünglich: redundant array of inexpensive disks, deutsch: Redundante Anordnung kostengünstiger Festplatten, was… …   Deutsch Wikipedia

  • Code rate — In telecommunication and information theory, the code rate (or information rate[1]) of a forward error correction code is the proportion of the data stream that is useful (non redundant). That is, if the code rate is k/n, for every k bits of… …   Wikipedia

  • Redundant Array of Inexpensive Disks — RAID (informatique) Pour les articles homonymes, voir Raid. En informatique, le mot RAID désigne une technologie permettant de stocker des données sur de multiples disques durs afin d améliorer, en fonction du type de RAID choisi, la tolérance… …   Wikipédia en Français

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”