code smell

名词 n.

英文释义

名词 n.
  1. Anything in a program's source code that suggests the presence of a design problem.
    — A well-known code smell is as follows: a function should do one thing.

词形变化

code smells plural

词源

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.
0 次浏览 数据来源: Wiktionary