Today’s agenda• Technical debt!• Tests!• Squeeze the juice!• Crappy code!• 4 easy steps for PMs!• How to understand, that we are in a
trouble!• What PM can do about all of that
stuff!• Q&A
2 © Copyright Innovecs 2012
4© Copyright Innovecs 2012
Technical debt
is a term to describe the cumulative consequences of corners being cut throughout the development process.
6© Copyright Innovecs 2012
They are so serious, as they are observing how the tech debt is born. 10 sec before the push. Someone just said “Let’s fix it after the demo”.
7© Copyright Innovecs 2012
Tests
Your project is like a rocket – you are moving so fast, that you have no time for unit tests.
8© Copyright Innovecs 2012
Squeeze the juice
•Short-term speed (Sprint) !•Long-term speed (Marathon)
you can't have both
12© Copyright Innovecs 2012
Step 1. Identify the problem.
If you hear that the code is crap while drinking coffee at the kitchen or passing by the developer’s table – it’s a bit late.
13© Copyright Innovecs 2012
Step 2. Identify the reason.
Crappy code exists because developers created it.
16© Copyright Innovecs 2012
What can help!• Keep your test’s green. !•Definition of done.!• You inherited crappy code from
your descendants: It is not possible to “overwrite everything” as your team advices you. Just start with reducing the tech debt.
18© Copyright Innovecs 2012
Step 4: Everything is ok now? !It’s time to monitor)
!• Add the subcolumn “Tech
debt” to your board. !• Check the “Code health”
rate during the daily meeting/retrospective.
19© Copyright Innovecs 2012
How to understand, that we !are in a trouble
•You don’t produce any tech debt.!•The bugs don’t stop. !•Your code has too many // @todo: come back and fix!•You have no tests.!•Developers don’t perform refactoring.!•Velocity is going down.!•You have a lot of “places” everyone is scared to touch as they “just work”
20© Copyright Innovecs 2012
What PM can do
•Do not ask your client’s if they need unit tests. If they need refactoring. You just do that.!•Set the process. Just set it, no mess or “will do it later’ aloud.!•Make your tech dept visible. !•Share the code. !•Perform code reviews.
Top Related