Refactoring Superpowers: Make Your C++ IDE Do Your Work, Faster and More Safely
summary
Converts a C# Sudoku kata into C++, uses Tangible for initial translation and ApprovalTests plus Catch for verification, and gets 1200 lines with passing tests; extracts parameters and methods with ReSharper C++, compares with CLion slow on mac and Visual Assist (which fails this extract). Builds a Grid abstraction, writes a targeted solve test using ten seeded runs to reach full coverage, and iterates with small commits so each automated refactoring compiles, tests green, and leaves clearer, safer code.
AI-written summary · about
chapters (21)
- 0:00Intro
- 0:59Questions
- 7:29Sudoku Rules
- 8:43Sudoku Kata
- 13:57Extract Parameter: Step 5...
- 16:21Adding Approval Tests
- 18:07Avoid the Refactoring Bottomless Pit
- 19:18Extract Method v1: Step 3
- 23:31Independent copy of data
- 25:43Extract Method v2: ReSharper C++
- 27:53Extract Method v2: CLion
- 30:39Extract Method v2: Visual Assist
- 33:13Awareness: "Provable Refactorings"
- 34:58Per-refactor checklist
- 37:08Extract Grid Class
- 42:44Finding the Concepts
- 44:11Tips
- 45:39Finding Refactoring in IDE
- 49:27Intentions
- 53:17Benefits of Refactoring
- 54:31My Message To You!
related talks
01h 18mKeynote: Refactoring Superpowers: Make Your IDE Do Your Work, Faster and More Safely
01h 31mClean(er) Code for Large Scale Legacy Applications
01h 03mElevate Your Code to Modern C++11 with Automated Tooling
59mMechanical C++ Refactoring in the Present and in the Future
01h 03mHow to Build Your First C++ Automated Refactoring Tool
52mHow Visual Studio Code Helps You Develop More Efficiently in C++
29m6 Safe Refactoring's for Untested Legacy Code
01h 01mCode Analysis++
