Comum · Saberes
Duplicate code
Piece of source code that occurs more than once in the same environment
In computer programming, duplicate code is multiple occurrences of equivalent source code in a codebase. A duplicate code fragment is also known as a code clone, and the process of finding clones in source code is called clone detection. Duplicate code has multiple undesirable aspects.
Na Wikipédia
Texto em inglês Ainda não há artigo no seu idioma: trecho em inglês.
In computer programming, duplicate code is multiple occurrences of equivalent source code in a codebase. A duplicate code fragment is also known as a code clone, and the process of finding clones in source code is called clone detection. Duplicate code has multiple undesirable aspects. Whether fragments are classified as duplicate can be subjective. Fragments that are very small – such as a single statement – are probably not classified as duplicate. Additionally, fragments that are not exactly the same text might be considered duplicate code if they match except for less important aspects such as whitespace, comments and variable names. Even fragments that are only functionally equivalent may be classified as duplicate.
Texto: Wikipédia em inglês, CC BY-SA 4.0. ·
Cartas próximas
-
L★
Linux on embedded systems
Uses in embedded systems
-
S★★
Structured program theorem
Theorem that a class of control flow graphs can compute any computable function if it combines subprograms only through sequence, selection, and iteration
-
★
ROOT
Linguagem de programação
-
p★
programação orientada por dados
Programming paradigm
-
★★
Sistema de processamento distribuído
-
S★★
Sistema de controle de versões
-
P★★
Programação de culto à carga
Estilo de programação de computadores caracterizada pela inclusão ritual de código ou estruturas de programa que não servem a um propósito real
-
T★
Toolchain
-
★★★
GNU
Sistema operativo
-
I★
Invariant (computer science)
Condition that can be relied upon to be true during execution of a program, or during some portion of it
-
C★★
Command–query separation
Principle that every method should either be a command that performs an action, or a query that returns data to the caller, but not both; asking a question should not change the answer
-
★★
Code 39
Variable length, discrete barcode symbology
-
C★
CoreOS
Sistema operativo
-
C★
Code Complete
Book by Steve McConnell
-
★★★
Fork
-
★★
Quine (informática)
-
★★
snippet
Programming term for a small region of re-usable source code, machine code, or text
-
T★★
Teste de unidade