O'Reilly logo

Visual Studio Team System: Better Software Development for Agile Teams by James W. Newkirk, Will Stott

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

15. Learning to Refactor

IN THE PRECEDING CHAPTER, you implemented the first part of the “Image Favorites” story and along the way learned how to use the new unit testing facilities of Visual Studio 2005 to perform test-first programming (TFP). This chapter is more concerned with the refactoring required as you implement more of the “Image Favorites” story and, therefore, find yourself wanting to improve the structure and design of your code without changing its functionality. We will start by making refactorings that cause such improvements to happen in a small way, but by the end of the chapter, you will have learned how to make refactorings that result in a significant enhancement of your code.

Doing Small Refactorings

The secret of refactoring ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required