Talk:Extract Method
From CSSEMediaWiki
(Difference between revisions)
Line 1: | Line 1: | ||
− | 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. -[[User:Jason Clutterbuck|Jason Clutterbuck]] 04:26, 11 September 2008 (UTC) | + | 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. Or do i not understand the intention completely? -[[User:Jason Clutterbuck|Jason Clutterbuck]] 04:26, 11 September 2008 (UTC) |
Factoring out the method in the way that's demonstrated here leads to [[ComposedMethodsWithIntentionRevealingNames]]. -- [[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. Or do i not understand the intention completely? -Jason Clutterbuck 04:26, 11 September 2008 (UTC)
Factoring out the method in the way that's demonstrated here leads to ComposedMethodsWithIntentionRevealingNames. -- Lindsay