3 ms·
I’m the same. Refactoring is a way for me to “takes notes” as I learn a codebase. Version control makes things so easy I typically always commit the refactorin
by yazaddaruvala 5y ago
I’m the same. Refactoring is a way for me to “takes notes” as I learn a codebase.
Version control makes things so easy I typically always commit the refactoring work to mainline first (code review and all) then fix the bug or repeat with another refactor.
It’s also typically faster, because the refactoring alone is a significantly smaller code review than the refactoring+<change>, and I can keep working on the <change> (i.e. bug fix/feature/more refactoring) while that CR gets looked at.