Several months ago I joined the new for me project team. They have been working on this product for more than a year. You know what it means for the mobile project – we have a tons of code created) So, one of the most severe issues guys mentioned is the crappy code – developers told me that during the first retrospective we had. My first reaction was – “So why do you create this crappy code?”. But the answer was very easy for them – “We inherited that code from the previous team, they created all this awful things!”.
Everyone is writing unit tests, everyone cares about their tech debt, everyone performs refactoring… Sure! Enter the nearest dev team room and ask them several questions:
- Do you do TDD?
- Do you write unit tests?
- Do you perform refactoring?
And you’ll hear the same I usually do – “No”. And when you ask “Why?” the answer will be “We have no time!”.
I am a cruel PM, one of those guys who keep saying to the teams: “We have no place for that in the budget!”. But it scares even me. So, PMs, stop blaming the teams, it’s your job to protect them and forget about “We have no time!”.