Hacker News new | ask | show | jobs
by maxxxxx 2615 days ago
“change the portion of code you care about, follow the compiler's complaints and by the end you're likely to have a codebase in a good state.”

That has always been my refactoring algorithm with C++, C# of TypeScript now. I know a lot of smart people using dynamic languages but I always prefer to lean on the compiler to tell me what needs to be changed.