DEV Community

Discussion on: You're going out of scope, again.

Collapse
 
gmartigny profile image
Guillaume Martigny

Hi Poof,

Technical debt is struggle for everyone. I have (sadly) some experience on working with old code-base.
What I feel works best (professionally speaking) is to address the issue steps by steps. The smaller the steps, the better. Pareto principle style !

Maybe start with code formatting as it has little chance to take time or break something.
Then code your feature. If you have some time left, start to think of refactoring.

I sometimes feel like you, but often, I make change that won't be merged because :

  • It break some weird use-case
  • Take too long to be reviewed
  • Just too risky

Of course, you should try to improve. We all have down time, use them to clean your old piece of code.