In the first part of the book, we’ll discuss the nature of technical debt, code smells, and refactoring. We’ll focus on the mechanical process of refactoring C# code in Visual Studio.
Throughout this part, you’ll learn how to safely alter the form of your code without changing its functionality. We’ll cover high-level concepts and then walk through refactoring individual lines of code. After this, we’ll zoom out to refactor entire methods and see how they interact with each other. Finally, we’ll look at some object-oriented approaches to refactoring that can help truly reshape your code by altering how classes interact with each other.
This part of the book can either be read as a traditional book or used as a step-by-step tutorial for refactoring the starting code found in each chapter.
This part contains the following chapters: