Jason Gorman of Codemanship demonstrates a short and simple example illustrating how to get rid of some fairly obvious duplication of code in two similar methods.
Download the source from bit.ly/ay8GRD
To find out more about training and coaching in refactoring, test-driven development and OO design, visit www.codemanship.com/
コメント