Refactoring and quality improvements must happen incrementally and in parallel with shipping new features and fixing bugs.
There's nuance here. Every project/team/org is different.
Refactoring and quality improvements must happen incrementally and in parallel with shipping new features and fixing bugs.