Read along with the audio summary
A junior developer at a consultancy got tired of just moving tickets and fixing bugs, so they decided to refactor the front end of an entire messy legacy application without explicit permission from their manager or the client. In this episode, which came out on March 16, 2025, the hosts of this software engineering podcast, including Jameson, discuss the listener's question and a second question about pushback on self initiated code changes. By the end, you will learn how to navigate the risks of rogue code improvements and get your team on board.
Why your well intentioned code cleanup might actually create workplace friction. Improving a codebase, known as refactoring, can cause tension when it is done outside of a planned task or work cycle. As Jameson notes, it is hard to tell people after the fact because they might wonder about all the features they wanted and did not get because of the time you took. Instead of refactoring in secret, have a conversation with your manager about your desire to improve the codebase so you might create an official process and ensure everyone is aligned.
This friction gets even trickier because of how consulting relationships work, which brings us to why a client might not appreciate unsolicited improvements to their software. When you work at a consultancy, time is strictly billed and work is often strictly defined by contracts and tickets. It can be viewed as unapproved scope that may not align with the client's perceived value or budget.
How to translate technical cleanup into a language that managers and clients value. A central theme of the discussion is framing technical improvements in terms of business value. For example, it is more effective to demonstrate outcomes like showing that future features will be developed faster, or that you have reduced the bug rate.
Why your off the books code changes might attract endless nitpicking from your peers. When a pull request is unsolicited or off the books, the normal cost and benefit constraints of a planned sprint are absent. Because of this, these reviews receive a higher level of scrutiny and suggestions for ever expanding scope, a phenomenon called whataboutism. To avoid the friction of off the books changes, advocate for officially allocating a small portion of your team's sprint capacity to learning, experimentation, and addressing technical debt.
Why that sparkling clean codebase might not make you as happy as you expect. However, the hosts humorously discuss what is called the hedonic treadmill of refactoring. They note that the anticipation of a clean codebase is often more satisfying than the reality after the refactoring is complete, because your standards for what counts as clean simply adjust.
Going rogue to fix messy code carries real risks, especially when time is strictly tracked and your peers review unscheduled work without normal sprint limits. If you want to improve your codebase without surprising your team, talk to your manager beforehand, request official sprint capacity for technical debt, and always highlight the business outcomes of your work. It takes more than resolving deadlocked technical disagreements by picking number three to be a great software engineer.