Skip To Content
Clean Code

Code Smells

Smells are subtle signs of bad code. On their own, they're not so terrible, but they violate rules of thumb for good code. Fix them early on to save yourself lots of time.

Each section details traits of what makes that part of the code smelly. You should aim to avoid them at all times.

Many of these refer to their respective other chapters of Clean Code. I recommend rereading those for more details.

Comments #

Environment #

Functions #

Names #

Tests #

Abstractions #

Coupling #

Modules #

Styling #

General Programming #