Long method smell
From CSSEMediaWiki
Revision as of 04:54, 29 July 2008 by Geoffrey Clark (Talk | contribs)
"Object programs live best and longest with short methods. The payoffs of indirection - explanation, sharing and choosing - are supported by little methods. Everybody knows short is good." --Bad Smells
The Long method code smell is a sign that you possibly need to take some part of related functionality in your method and create a new method to hold this functionality. This action is known as the Extract Method