In Chapter 3, “Unit Testing,” red/green/refactor was introduced as a development paradigm. Through unit testing, it was possible to achieve the red and green portion of that triumvirate. What was missing from the discussion was refactoring, which, fortunately for people who read books from front to back, is the topic of this chapter. After a brief description of the function and form of refactoring, you will learn about the many different tools that Visual Studio 2019 brings to bear to help with this step.
What Is Refactoring
To start, let’s consider refactoring as ...