Code Smells
This links to the Org Special Blocks page.
notes
because these patterns tend to be solutions to bad design smells, I’ve decided to include all the details on a single page.
design smells
duplicated code
long method
large class
long parameter list
divergent change
shotgun surgery
feature envy
data clumps
primitive obsession
switch statements
parallel inheritance hierarchies
lazy class
speculative generality
temporary field
message chains
middle man
inappropriate intimacy
alternative classes with different interfaces
incomplete library class
data class
refused bequest
comments
comments are good, but sometimes they are used as deoderant for bad code!