"code smell" meaning in English

See code smell in All languages combined, or Wiktionary

Noun

Forms: code smells [plural]
Etymology: Analogous to a bad smell indicating e.g. rotten food. Apparently coined by American software engineer Kent Beck, in the late 1990s. Popularized via the book Refactoring: Improving the Design of Existing Code, co-authored by Beck. Etymology templates: {{coin|en|Kent Beck|nat=American|nocap=1|occ=software engineer}} coined by American software engineer Kent Beck Head templates: {{en-noun}} code smell (plural code smells)
  1. (programming) Anything in a program's source code that suggests the presence of a design problem. Categories (topical): Programming Related terms: clean code, refactoring Translations (design problem in code): purkka (Finnish), Code-Smell [masculine] (German)

Inflected forms

Download JSON data for code smell meaning in English (2.2kB)

{
  "etymology_templates": [
    {
      "args": {
        "1": "en",
        "2": "Kent Beck",
        "nat": "American",
        "nocap": "1",
        "occ": "software engineer"
      },
      "expansion": "coined by American software engineer Kent Beck",
      "name": "coin"
    }
  ],
  "etymology_text": "Analogous to a bad smell indicating e.g. rotten food. Apparently coined by American software engineer Kent Beck, in the late 1990s. Popularized via the book Refactoring: Improving the Design of Existing Code, co-authored by Beck.",
  "forms": [
    {
      "form": "code smells",
      "tags": [
        "plural"
      ]
    }
  ],
  "head_templates": [
    {
      "args": {},
      "expansion": "code smell (plural code smells)",
      "name": "en-noun"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "senses": [
    {
      "categories": [
        {
          "kind": "other",
          "name": "English entries with incorrect language header",
          "parents": [
            "Entries with incorrect language header",
            "Entry maintenance"
          ],
          "source": "w"
        },
        {
          "kind": "topical",
          "langcode": "en",
          "name": "Programming",
          "orig": "en:Programming",
          "parents": [
            "Computing",
            "Software engineering",
            "Technology",
            "Computer science",
            "Engineering",
            "Software",
            "All topics",
            "Sciences",
            "Applied sciences",
            "Media",
            "Fundamental",
            "Communication"
          ],
          "source": "w"
        }
      ],
      "examples": [
        {
          "ref": "2021, Christian Clausen, Five Lines of Code: How and when to Refactor, Manning, page 4",
          "text": "A well-known code smell is as follows: a function should do one thing.",
          "type": "quotation"
        }
      ],
      "glosses": [
        "Anything in a program's source code that suggests the presence of a design problem."
      ],
      "id": "en-code_smell-en-noun-GCZqHTRe",
      "links": [
        [
          "programming",
          "programming#Noun"
        ],
        [
          "program",
          "program"
        ],
        [
          "source code",
          "source code"
        ],
        [
          "design",
          "design"
        ],
        [
          "problem",
          "problem"
        ]
      ],
      "raw_glosses": [
        "(programming) Anything in a program's source code that suggests the presence of a design problem."
      ],
      "related": [
        {
          "word": "clean code"
        },
        {
          "word": "refactoring"
        }
      ],
      "topics": [
        "computing",
        "engineering",
        "mathematics",
        "natural-sciences",
        "physical-sciences",
        "programming",
        "sciences"
      ],
      "translations": [
        {
          "code": "fi",
          "lang": "Finnish",
          "sense": "design problem in code",
          "word": "purkka"
        },
        {
          "code": "de",
          "lang": "German",
          "sense": "design problem in code",
          "tags": [
            "masculine"
          ],
          "word": "Code-Smell"
        }
      ]
    }
  ],
  "word": "code smell"
}
{
  "etymology_templates": [
    {
      "args": {
        "1": "en",
        "2": "Kent Beck",
        "nat": "American",
        "nocap": "1",
        "occ": "software engineer"
      },
      "expansion": "coined by American software engineer Kent Beck",
      "name": "coin"
    }
  ],
  "etymology_text": "Analogous to a bad smell indicating e.g. rotten food. Apparently coined by American software engineer Kent Beck, in the late 1990s. Popularized via the book Refactoring: Improving the Design of Existing Code, co-authored by Beck.",
  "forms": [
    {
      "form": "code smells",
      "tags": [
        "plural"
      ]
    }
  ],
  "head_templates": [
    {
      "args": {},
      "expansion": "code smell (plural code smells)",
      "name": "en-noun"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "related": [
    {
      "word": "clean code"
    },
    {
      "word": "refactoring"
    }
  ],
  "senses": [
    {
      "categories": [
        "English coinages",
        "English countable nouns",
        "English entries with incorrect language header",
        "English lemmas",
        "English multiword terms",
        "English nouns",
        "English terms coined by Kent Beck",
        "English terms with quotations",
        "en:Programming"
      ],
      "examples": [
        {
          "ref": "2021, Christian Clausen, Five Lines of Code: How and when to Refactor, Manning, page 4",
          "text": "A well-known code smell is as follows: a function should do one thing.",
          "type": "quotation"
        }
      ],
      "glosses": [
        "Anything in a program's source code that suggests the presence of a design problem."
      ],
      "links": [
        [
          "programming",
          "programming#Noun"
        ],
        [
          "program",
          "program"
        ],
        [
          "source code",
          "source code"
        ],
        [
          "design",
          "design"
        ],
        [
          "problem",
          "problem"
        ]
      ],
      "raw_glosses": [
        "(programming) Anything in a program's source code that suggests the presence of a design problem."
      ],
      "topics": [
        "computing",
        "engineering",
        "mathematics",
        "natural-sciences",
        "physical-sciences",
        "programming",
        "sciences"
      ]
    }
  ],
  "translations": [
    {
      "code": "fi",
      "lang": "Finnish",
      "sense": "design problem in code",
      "word": "purkka"
    },
    {
      "code": "de",
      "lang": "German",
      "sense": "design problem in code",
      "tags": [
        "masculine"
      ],
      "word": "Code-Smell"
    }
  ],
  "word": "code smell"
}

This page is a part of the kaikki.org machine-readable English dictionary. This dictionary is based on structured data extracted on 2024-05-01 from the enwiktionary dump dated 2024-04-21 using wiktextract (f4fd8c9 and c9440ce). The data shown on this site has been post-processed and various details (e.g., extra categories) removed, some information disambiguated, and additional data merged from other sources. See the raw data download page for the unprocessed wiktextract data.

If you use this data in academic research, please cite Tatu Ylonen: Wiktextract: Wiktionary as Machine-Readable Structured Data, Proceedings of the 13th Conference on Language Resources and Evaluation (LREC), pp. 1317-1325, Marseille, 20-25 June 2022. Linking to the relevant page(s) under https://kaikki.org would also be greatly appreciated.