I haven't worked on a large C++ codebase yet, but with Rust my refactoring technique has been
1. Roughly model the data flow on paper so you don't have to fight the borrow checker or make design changes later.
2. Make the obvious changes related to the refactor.
3. Listen to Rustc and Clippy.
4. Everything usually works with surprisingly few issues.
psyclobe|1 year ago
So Rustacians have to defer to paper and pencil just to avoid the tooling huh, something seems counter productive about that.