News for hackers. Stuff that matters.
Re:Refactoring in C++: Top Techniques and Best Practices – T... by polyaniline on Friday December 13, 2024 @12:05AM (#42406053)
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.
Re:Refactoring in C++: Top Techniques and Best Practices – T... by psyclobe on Friday December 13, 2024 @02:37AM (#42406660)
> 1. Roughly model the data flow on paper so you don't have to fight the borrow checker or make design changes later.

So Rustacians have to defer to paper and pencil just to avoid the tooling huh, something seems counter productive about that.