Talk:Extract Method
From CSSEMediaWiki
(Difference between revisions)
m (Reverted edits by Ebybymic (Talk); changed back to last version by Jason Clutterbuck) |
|
(One intermediate revision by one user not shown) |
Latest revision as of 03:03, 25 November 2010
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) Ok it was option number two. Understanding attained -- Jason Clutterbuck
Factoring out the method in the way that's demonstrated here leads to Composed Methods with Intention Revealing Names. -- Lindsay