glossary:smell
This is an old revision of the document!
Table of Contents
Smell
Meaning 1
Alternative Terms
Definition
A smell is either an anti-pattern or a symptom which hints that there might be a deeper problem in the code or in the design.
Description
- An anti-pattern is a smell if it manifests somewhere in the code.
- Copy and Paste Programming is a methodological anti-pattern but not a code smell as it does not directly manifest in the code. Duplicated Code is the corresponding smell (and also an anti-pattern).
- Shotgun Surgery is a code smell which is rather a symptom than an anti-pattern.
- There are smells on different levels of abstraction: code smells and design smells
Examples
Alternative Definitions
See Also
Further Reading
Other Meanings
glossary/smell.1375870861.txt.gz · Last modified: 2013-08-07 12:21 by christian