The 4 main types of technical debt
Tags: programming, management, startup, devops
Published: 2022-06-17 13:52:49

<!-- wp:paragraph {"align":"justify"} -->
<p class="has-text-align-justify">Technical debt is a common metaphor for software's accumulated backlog (like bugs, missing documentation, and legacy code). It can happen because developers favor a “quick and dirty” over a more polished and clean solution to reduce the overall implementation time and meet strict deadlines.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"align":"justify"} -->
<p class="has-text-align-justify">Today we’re focusing on the main types of technical debt. Countless academic papers, articles, and blog posts have defined types of technical debt. The most accepted definition is Martin Fowler’s <a href="https://martinfowler.com/bliki/TechnicalDebtQuadrant.html" target="_blank" rel="noreferrer noopener">Technical Debt Quadrant</a>. Other definitions use different terminology, but the concepts are similar to those presented by Fowler.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"textAlign":"justify","level":1} -->
<h1 class="has-text-align-justify" id="h-martin-fowler-s-technical-debt-quadrant"><strong>Martin Fowler’s technical debt quadrant</strong></h1>
<!-- /wp:heading -->

<!-- wp:paragraph {"align":"justify"} -->
<p class="has-text-align-justify">According to Martin Fowler, a software development specialist, there are 4 different types of technical debt, with some being riskier and having more nefast consequences than others. The technical debt quadrant categorizes these types of tech debt based on intent and context. You should avoid the left side of the quadrant at all costs.</p>
<!-- /wp:paragraph -->

<!-- wp:image {"align":"center","id":3281,"sizeSlug":"full","linkDestination":"none"} -->
<figure class="wp-block-image aligncenter size-full"><img src="https://blog.codacy.com/wp-content/uploads/2020/10/techDebtQuadrant.png" alt="Technical debt quadrant" class="wp-image-3281"/><figcaption><em>Technical debt quadrant from </em><a href="https://martinfowler.com/bliki/TechnicalDebtQuadrant.html" target="_blank" rel="noreferrer noopener"><em>Martin Fowler’s</em></a><em> post</em></figcaption></figure>
<!-- /wp:image -->

<!-- wp:heading -->
<h2><strong>Deliberate and reckless</strong></h2>
<!-- /wp:heading -->

<!-- wp:paragraph {"align":"justify"} -->
<p class="has-text-align-justify">Deliberate and reckless technical debt happens when the team knows that a particular decision will result in tech debt but still moves forward because it prioritizes speed over quality. However, the team might not understand the repercussions of that decision. The team does consider aspects like long-term impact and the approximate final cost, making this deliberate decision also reckless.&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"align":"justify"} -->
<p class="has-text-align-justify">This type of technical debt is common in startups or small-scale companies, where the team might want to ship an MVP to raise funds or get a proof-of-concept out as early as possible. In that scenario, a team might know about good design practices but decide to follow a "popsicle sticks and duct tape" approach because they think they can't afford the time required to write clean code.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"align":"justify"} -->
<p class="has-text-align-justify">Even though the tech debt was intentional, and the team might be able to achieve their goal and stick to a tight deadline, this approach has poor results and can become an unsuccessful strategy for the software in the long run.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2><strong>Deliberate and prudent</strong></h2>
<!-- /wp:heading -->

<!-- wp:paragraph {"align":"justify"} -->
<p class="has-text-align-justify">Like the previous type, the deliberate and prudent technical debt happens when the team knows that a decision will cause tech debt but moves forward anyway. But unlike reckless debt, in this case, the decision is made after analyzing all the consequences. The team decides the debt is acceptable if the payoff for an earlier release is greater than the cost of the technical debt.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"align":"justify"} -->
<p class="has-text-align-justify">In this type of technical debt, the team analyses the risk and creates a plan of action to carefully and effectively handle the consequences of the tech debt, reducing the harm to a minimum. They also define a plan to pay off the debt.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"align":"justify"} -->
<p class="has-text-align-justify">Once the organization achieves the goal or meets the deadline they were aiming for, the team goes back to fix all the issues, refactor the code, and apply best practices.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2><strong>Inadvertent and reckless</strong></h2>
<!-- /wp:heading -->

<!-- wp:paragraph {"align":"justify"} -->
<p class="has-text-align-justify">Inadvertent and reckless technical debt is the most harmful type of debt. It happens when the team doesn’t have enough experience and blindly implements a solution without realizing they’re getting into debt.&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"align":"justify"} -->
<p class="has-text-align-justify">A common situation is when an organization lacks human resources and needs to ask for inexperienced or non-professional developers to implement the software. As a result, the team will write low-quality code and generate technical debt. Recklessness or lack of knowledge can lead to unwanted issues which more experienced developers could easily avoid.&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"align":"justify"} -->
<p class="has-text-align-justify">Due to their lack of skills, those inexperienced devs are unaware they’re causing tech debt. So it is almost impossible to plan solutions or accurately measure the negative impact of the debt. The best way to pay this type of technical debt is to hire more experienced developers to analyze and rewrite the code.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2><strong>Inadvertent and prudent</strong></h2>
<!-- /wp:heading -->

<!-- wp:paragraph {"align":"justify"} -->
<p class="has-text-align-justify">Inadvertent and prudent technical debt happens when a knowledgeable team applies best practices during the software development but inadvertently generates technical debt due to unseen coding mistakes. However, the team can identify and pay the technical debt later on due to their skills.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"align":"justify"} -->
<p class="has-text-align-justify">This type of technical debt is related to learning and innovation. For example, when a developer is coding, they are learning. After some time of finishing a piece of software, a developer can understand how to implement a better solution. The developer can then take action and improve the code.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":1} -->
<h1><strong>[Talk] When Technical Debt gets in the way of growth&nbsp;</strong></h1>
<!-- /wp:heading -->

<!-- wp:paragraph {"align":"justify"} -->
<p class="has-text-align-justify">Would you like to hear an expert panel dive deeper into the topic of Technical Debt? Join <strong>Codacy CEO, Jaime Jorge,</strong> in an exclusive talk with <strong>Tim Cochran</strong>, Technical Director at <a href="https://www.thoughtworks.com/" target="_blank" rel="noreferrer noopener">Thoughtworks</a>, and <strong>Carl Nygard</strong>, Technical Principal at Thoughtworks. We’ll cover:</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul><li>What is prudent vs. reckless technical debt;</li><li>The importance of addressing technical debt;</li><li>What are signs that software quality is deteriorating that scaling companies should be looking for?;</li><li>How should we address technical debt; and much more!</li></ul>
<!-- /wp:list -->

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1u0ksxjcl2aud4sk3inw.png)

<!-- wp:paragraph {"align":"center"} -->
<p class="has-text-align-center"><strong>Join us in our Talk </strong><strong><em>When Technical Debt gets in the way of growth</em></strong><strong>. See you there!</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"align":"center"} -->
<p class="has-text-align-center"><strong>👉 When: June 21st 2022, 4 pm UTC / 11 am CDT</strong><br><strong>👉 Where: </strong><a href="https://us02web.zoom.us/webinar/register/7016541838682/WN_gElUQdZ4Q0CnCsWznxZJsw" target="_blank" rel="noreferrer noopener"><strong>online</strong></a><em> - registration needed</em></p>
<!-- /wp:paragraph -->

<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} -->
<div class="wp-block-buttons"><!-- wp:button -->
<div class="wp-block-button"><a class="wp-block-button__link" href="https://us02web.zoom.us/webinar/register/7016541838682/WN_gElUQdZ4Q0CnCsWznxZJsw" target="_blank" rel="noreferrer noopener">Save me a seat</a></div>

<!-- wp:heading -->
<h2><strong>About our guest speakers</strong></h2>
<!-- /wp:heading -->

<!-- wp:paragraph {"align":"justify"} -->
<p class="has-text-align-justify">This month, we have two very special guests joining our webinar. Engineer, content writer, and speaker Tim Cochran is a Technical Director for the US East Market at Thoughtworks. He advises organizations on technology strategy and making the right technology investments to enable digital transformation goals. Recently, Tim helped create the <a href="https://martinfowler.com/articles/bottlenecks-of-scaleups/" target="_blank" rel="noreferrer noopener">Bottlenecks of Scaleups</a> series, featured on <a href="https://martinfowler.com/" target="_blank" rel="noreferrer noopener">MartinFowler.com</a>. Carl Nygard is a senior technology leader with over 20 years of experience. Carl is the Technical Principal at Thoughtworks, and alongside Tim, he has helped write the Bottlenecks of Scaleups series.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>Hope to see you there!</strong></p>
<!-- /wp:paragraph -->