Hahaha… Ha… Ha…
At my company we allocate 20% of our time on “Better engineering”, and it counts as impact when you’re up for bonuses/raises so people actually have a reason to push to do it
Worst part is when the un-refactored code continues to confuse other devs, meaning it keeps causing additional work, but you still don’t get time to actually fix it.
Commit1: actual change
Commit2: this code is so misleading and I have to refactor it refactors
Me: painfully rejects PR the story said nothing about refactoring…
Don’t forget about the fabled but often discussed “tech debt sprint”.
(I know I’m full of shit, even when I’m writing the comment).