code smell

Hello, you have come here looking for the meaning of the word code smell. In DICTIOUS you will not only get to know all the dictionary meanings for the word code smell, but we will also tell you about its etymology, its characteristics and you will know how to say code smell in singular and plural. Everything you need to know about the word code smell you have here. The definition of the word code smell will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofcode smell, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.

English

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.

Noun

code smell (plural code smells)

  1. (programming) Anything in a program's source code that suggests the presence of a design problem.
    • 2021, Christian Clausen, Five Lines of Code: How and when to Refactor, Manning, →ISBN, page 4:
      A well-known code smell is as follows: a function should do one thing.

Translations

See also

Further reading