Colin Devroe on a kayak

Everything Colin

A collection of the things that I write, share, make and dream.

Why you should never ask permission to clean up code

[ad#Adsense: Horiz 468]

"Can I take some time to clean up this code? It is horrendous." The answer should always be yes to this question. However, often times we find ourselves up against walls in the form of budgets, time, due dates and expectation and so the typical "powers that be" at companies often veto the request. My advice to you, dear developer, is to never ask for permission for things you know are vital to your work.

You know your work environment better than I do so perhaps you can ask this question and immediately have the full support of your team. Sad to say that many aren't so fortunate. They'll ask their boss if they can take some time to clean up their code, make it efficient and extensible and, while the boss may recognize the need for such tasks, ultimately the boss will simply say "maybe we can do that later".

Why is this the typical reaction? Because bosses don't have to read, edit and support the code.

This is folly and every developer knows it. Bosses, (if you're reading this) putting off a few hours worth of code clean-up now will only turn into many hours or days in the future. So by allowing your developers time to do this much needed code maintenance you're actually saving your company money. But don't worry - they're not going to ask you for permission anymore. They're just going to do it.

  • 22 March 2011

It is OK. You can reset your password.

If you happened to misplace your password or if it slipped your mind, don't worry. Enter your email address below and we'll send you a new, temporary password so you can get right back to what you need to do.

All sensitive information is SSL encrypted and secure. Learn more.

Reset Password