IT lexicon › Programming › Code smell

Code smell

Programming På svenska → Updated: 2026-05-23

Patterns in code that often signal deeper problems — not bugs themselves, but warning signs.

Classics: 500-line function ("Long Method"), nested if-statements, magic numbers, copy-paste code, too many arguments. Kent Beck and Martin Fowler's terminology. The smell is often right even when "the code works".

← Back to the lexicon