Part 2: Small, reversible steps
The codebase was older than two of the people maintaining it. Functions reached into globals, templates ran queries, and nobody wanted to touch the checkout file.
- Add a static analysis baseline on day one
- Type the boundaries before the internals
- Keep hook names stable while moving callbacks
- Delete dead code in its own commit
We tried something similar last year and gave up halfway. Seeing it laid out step by step makes me want to try again.
Thanks for mentioning that, I had not thought about it.
Fair point, and thanks for the thoughtful disagreement. It really depends on the size of the team.
Good question. It took about three weeks, most of it waiting for review and measuring the results.
Agreed, the numbers make it much easier to convince a manager.
Fair point, and thanks for the thoughtful disagreement. It really depends on the size of the team.
We did this at my last job and it worked well once everyone agreed on the rules.
Fair point, and thanks for the thoughtful disagreement. It really depends on the size of the team.
Small thing, but thank you for including the numbers. So many posts skip that part.
Would love a follow-up in six months to see whether this held up.