Skip to content

Smells: bloat

Code smells in code that has grown so much it can no longer be understood at a glance.

5 guides30 min in totalRefactoring

The guides, in order

Read them top to bottom: each one builds on the ones before. The ones you've read carry a check.

About this group

What you'll find
Long method, large class, long parameter list, data clumps and primitive obsession.
It's for you if…
you review functions hundreds of lines long and don't know how to justify where to cut them.
How each guide works
Smell guides cover the signs, an example, why it happens, the treatment with its refactorings, what you gain and when it's not worth fixing. Technique guides show the problem, the code before and after, the steps, which smells it removes, its benefits and its cautions.