Keynote: Refactoring Superpowers: Make Your IDE Do Your Work, Faster and More Safely
summary
Refactors a 1,004 line C# sudoku solver into small, safe commits using JetBrains and Visual Studio refactorings and ApprovalTests to capture console output and stabilize RNG seeding so tests become deterministic. Uses extract method and introduce parameter repeatedly, adds a Grid.solve static API, raises a 90% covered play method to 100% by looping tests, and saves each successful microrefactor to git so changes are reversible and the solver still correctly solves external puzzles.
AI-written summary · about
chapters (22)
- 0:00Start
- 5:53The Process
- 17:30Sudoku Rules
- 19:20Sudoku Kata
- 27:08Avoid the Refactoring Bottomless Pit
- 30:46Extract Method
- 38:08Finding Refactoring in IDE
- 39:50Generate Common Patterns
- 40:44Quick-fix to Clean Up Code
- 41:54Quick-Fix to Write Your Code
- 44:05Keyboard Shortcuts
- 47:09Introduce Parameter
- 48:21Remove Unused Parameter
- 48:34Change Signature
- 48:56Transform Parameters
- 49:35Temptation
- 50:00Finding the Concepts
- 52:53Extract Class
- 55:47Create a File Template
- 56:23Use the File Template
- 58:13Summary: Flow
- 58:32Benefits
related talks
57mRefactoring Superpowers: Make Your C++ IDE Do Your Work, Faster and More Safely
29m6 Safe Refactoring's for Untested Legacy Code
57mUnlocking The Awesome Power of Refactoring
44mThe Art of Refactoring
48mRefactoring from Good to Great - A Live-Coding Odyssey
35mRefactoring Frenzy - Don't settle for short term
02h 42mClean Code: The Next Chapter
45mPanel Discussion Refactoring
