Technical Debt – Can you pay it back?
In a perfect world, development projects would be:
- Deployed often
- Developed using Agile practices, for example following Scrum
- Using mainstream technologies and libraries
- Managed & developed using best practices – the reason I started rules.ssw.com.au
- Run at a sustainable cadence with a team of at least 2 developers
- Code written in buddy fashion – 2 developers sitting side by side
- Covered with maintainable tests
- Ran by savvy & available Product Owners
- A Backlog that clearly identifies technical debt
- Reasonable budgets and timeframes
Do you work on a project that gets a tick on each one of these? Usually the two biggest things in a software project that developers have the least influence over, are the time they have to build a product (aka #10 – a reasonable budget).
So, what does this mean in the real world? Usually, it means software developers making compromises to get something built in the desired timeframe. This often leads to what we call Technical Debt.
What is Technical Debt?
Technical Debt can arise when you take a shortcut to get a feature in to get some feedback. It can be code that is hard to understand, even after reading it multiple time! Mostly when you see a single method that spans multiple screens, that is considered to be Technical Debt.
As new features are added to the system, often more Technical Debt will be introduced. And systems need to have features added to them to remain useful (or competitive).
What are the consequences?
It really comes down to 2 things:
- Fewer features over time for the customers
- More molasses (developer friction) for the developers
✔️ Making Technical debt visible
Example: A developer takes a shortcut to get some early feedback on a new feature
- $100 – full feature
- $20 – feature with shortcuts (no tests, dirty code, whatever it takes)
- $80 – IOU via PBI in the backlog e.g. [FeatureName] – Tech Debt – Planned
Can it be Reduced and/or Managed?
Technical debt is inevitable in most development projects as the influence of time and money comes into play, but can it be managed? The answer is yes.
SSW Software Architect, Matt Goldman, explains it best in the above video on SSW TV.
How to repay Technical Debt
Just like a business that receives pre-payment from customers, a software team should be reviewing the size of their liabilities (being the list of PBIs with Technical Debt).
At the Sprint Planning:
- Show the Product Owner the list of outstanding Technical Debt PBIs
- The Product Owner should make sure that the developers review the Technical Debt list and pick at least 1 PBI to pay back during the upcoming sprint
Managing technical debt is so important that we created a Rule for you to help pay it back. Check it out and let me know what you think: https://rules.ssw.com.au/technical-debt