Intermediate Vocabulary #refactoring#code-smells#clean-code#technical-debt

Code Refactoring Vocabulary

5 exercises — Practice the vocabulary engineers use when discussing code smells, refactoring techniques, legacy migration patterns, and technical debt.

Core refactoring vocabulary clusters
  • Code smells: Long Method, Large Class, Primitive Obsession, Feature Envy, Dead Code, bit-rot
  • Refactoring moves: Extract Method, Rename, Move, Inline, Pull Up
  • Migration patterns: strangler fig, Branch by Abstraction, seam
  • Debt concepts: technical debt, debt quadrant, Boy Scout Rule
0 / 5 completed
1 / 5
A tech lead reviews a pull request and leaves this comment:
"This method is 180 lines long and handles validation, pricing, discount logic, persistence, and email notification. It has seven parameters and three nested loops. This is a classic code smell — specifically a Long Method combined with Feature Envy."
Which statement best describes what a code smell is?