Talk:Extract Method

From CSSEMediaWiki
(Difference between revisions)
Jump to: navigation, search
Line 2: Line 2:
  
  
Factoring out the method in the way that's demonstrated here leads to two nice patterns: [[IntentionRevealingName]] and [[ComposedMethod]]. -- [[User:Lindsay|Lindsay]]
+
Factoring out the method in the way that's demonstrated here leads to [[ComposedMethodsWithIntentionRevealingNames]]. -- [[User:Lindsay|Lindsay]]

Revision as of 04:38, 11 September 2008

This is a bad example that does not really capture the essence of the method if the reader does not know that the printDetails method is also used elsewhere. I can not think of a better one right now unfortunately. -Jason Clutterbuck 04:26, 11 September 2008 (UTC)


Factoring out the method in the way that's demonstrated here leads to ComposedMethodsWithIntentionRevealingNames. -- Lindsay

Personal tools