Autoplay
Autocomplete
Previous Lesson
Complete and Continue
From Zero to Hero: Refactoring for C# Developers
Course overview
Welcome (4:42)
What will you learn in this course? (4:34)
Who is the course for and prerequisites (4:14)
Teaching style (3:29)
What is refactoring?
What is refactoring? (8:30)
What are the general goals of refactoring? (13:00)
Refactor for clarity and readability
Introduction (2:34)
Renaming private members (7:05)
Renaming public members (7:25)
Extract method (6:14)
Inline method (6:57)
Section recap (1:59)
Refactor to reduce complexity
Introduction (2:05)
Decompose conditional (18:31)
Replace with temp query (9:11)
Return early / reduce nesting (10:52)
Section recap (1:03)
Refactor for testability
Introduction (1:28)
Wrap/isolate dependencies (23:51)
Extract and inject (19:39)
Section recap (2:12)
Refactor for scalability
Introduction (1:43)
Parameters to parameter object (9:19)
Replace conditional with polymorphism and composition (17:52)
Refactor to extract commonality
Introduction (1:26)
Rule of 3 and DRY (11:36)
Pull up method (10:54)
Form template method (7:26)
Full rewrites
What is a rewrite vs refactor? (19:41)
What are the pros of rewriting? (12:09)
What are the cons of rewriting? (16:48)
Mitigating risks in large refactors (11:16)
Refactoring Exercise
Introducing the example (2:03)
Conversion routes (3:04)
Weather web response (2:24)
Rule of three + DRY on DTOs (3:36)
Strangler fig + repository facade (11:15)
Summary of example (1:28)
Course summary
Summary & Thank You (2:28)
Rate this course
Rate this course
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock