Extract MethodThe book has now been published and the content of this chapter has likely changed substanstially.
You have a code fragment (sequence of statements) that can be grouped together.
Turn the fragment into a method whose name explains the purpose of the method.
Further ReadingFrom [Ref]. Refactoring: Improving the Design of Existing Software"
Copyright © 2003-2008 Gerard Meszaros all rights reserved