C# Refactoring Tips and Tricks

C# Refactoring Tips and Tricks

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 0h 43m | 77 MB

Refactoring code makes it cleaner, more performant, and readable. It eliminates unused functionality, renames and reorganizes elements to make their purpose clearer, and allows for more abstraction. This course provides C# developers with tips and tricks for refactoring existing codebases. Learn how to create a baseline for your project to back up and track the results of your work, and start removing unused code. Discover how to refactor along branches and use popular refactoring techniques, including Rename Method, Extract Method, and Encapsulate Field. Learn how to optimize code by avoiding loops, simplifying math, and inlining code, and create cleaner code that emphasizes readability. Plus, get tips on packaging and distributing refactored libraries as APIs.

Topics include:

  • Creating a baseline
  • Removing unused code
  • Refactoring in branches
  • Using refactoring tools
  • Optimizing code
  • Creating clean code
Table of Contents

Introduction
1 Welcome
2 What you should know
3 What is refactoring

Refactoring Strategies
4 Create a baseline
5 Keys to successful refactoring
6 Remove unused code
7 Improve performance

Before You Refactor
8 Use version control
9 Refactor in branches
10 Tools for refactoring

Optimizing Code
11 Identify problem areas
12 Common optimizations
13 Inlining code

Creating Clean Code
14 Code readability
15 Extract methods
16 Create clean APIs

Conclusion
17 Next steps