<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Marco Scata on Medium]]></title>
        <description><![CDATA[Stories by Marco Scata on Medium]]></description>
        <link>https://medium.com/@marcoscata?source=rss-ab007bcc10dc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*GH7JY3Brqwo6kwG_4Y6wWQ.png</url>
            <title>Stories by Marco Scata on Medium</title>
            <link>https://medium.com/@marcoscata?source=rss-ab007bcc10dc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 07:17:34 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@marcoscata/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Goedel-izing requirements, or how an LLM approach could take “shift left” to a new level]]></title>
            <link>https://marcoscata.medium.com/goedel-izing-requirements-or-how-an-llm-approach-could-take-shift-left-to-a-new-level-d9a7e4a99536?source=rss-ab007bcc10dc------2</link>
            <guid isPermaLink="false">https://medium.com/p/d9a7e4a99536</guid>
            <category><![CDATA[llm-applications]]></category>
            <category><![CDATA[requirements]]></category>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[design-systems]]></category>
            <dc:creator><![CDATA[Marco Scata]]></dc:creator>
            <pubDate>Tue, 03 Mar 2026 16:13:20 GMT</pubDate>
            <atom:updated>2026-03-03T16:13:20.699Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>TL;DR </strong>— Inspired by Goedel’s incompleteness theorems, the “Goedel Metric” offers a new approach to requirements management. It recognizes that requirement sets inherently have limitations — incompleteness, inconsistency, and unprovable relationships. This metric, calculated using AI analysis, quantifies these limitations, proactively identifying potential problems early in the development lifecycle. By monitoring the metric, teams can make informed decisions about modifying, discarding, or marking requirements as obsolete, ultimately leading to more robust and consistent system development.</p><p>What do you do with requirements before, during, and after delivery? As your system evolves, how do you make sure new requirements make sense in view of the existing system capabilities, and how do you know which ones have become obsolete? How do you know if a new story builds on existing capabilities or contradicts any of the stories that the team delivered just a couple of sprints ago?</p><p>I know, I know, you would probably argue that requirements and agile stories are not the same thing. Or … are they?</p><p><strong>Stories </strong>usually give an actor’s perspective on how to use the system, which is why they usually follow the format <strong>“as a </strong><em>[actor]</em><strong> I want to </strong><em>[goal/task]</em><strong> so that </strong><em>[results/benefits]</em><strong>”</strong>. They are used to generate discussion in the spirit of collaboration, and they are flexible by nature.</p><p><strong>Requirements </strong>usually give a technical perspective. They outline the kind of functionality the system must have, and they provide less room for negotiation. For example, they can provide stability and scalability specifications, or outline compliance needs for systems operating in regulated industries.</p><p>However, from the perspective of a project team, user stories and technical requirements would still be logged as “descriptions of stuff that we must deliver”, often recorded on the same internal system, so I’m just going to use the word “requirements” as a general term here, without distinction between stories, epics, capabilities, technical specifications, non-functional requirements, etc. In the end, they’re all just descriptions of particular aspects of the same system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Qcz50OFJbiQU14DD" /><figcaption>Photo by <a href="https://unsplash.com/@kaleidico?utm_source=medium&amp;utm_medium=referral">Kaleidico</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Yes, we can argue that a system’s tests are its specifications: by definition, they describe the current behaviour of the system … except …</p><ul><li>tests are not always up to date;</li><li>tests are almost never comprehensive, so they do not usually describe the system in its entirety;</li><li>people in some roles, both internal and external (e.g. regulators) to the organisation, can’t/won’t accept tests as official system specifications;</li><li>tests are written as a result of requirements, so they would describe features that have already been discussed and agreed.</li></ul><p>Therefore, a more “traditional” requirement management approach is almost always needed. But how do we do this effectively in a manual fashion? The requirements management lifecycle is cumbersome, very resource-intensive in terms of people and time, and very susceptible to human error. It’s easy to get the process started from scratch for a brand new system, but as the system evolves it becomes harder and harder to review, change, augment, or even retire the original requirements and add new ones.</p><h3>Challenges</h3><p>Some of the challenges should be releatively obvious:</p><ul><li>How do we ensure a new requirement doesn’t contradict any existing requirements?</li><li>If one or more contraddictions emerge, how do we resolve them? Do we modify the new requirement? Do we retire one or more of the old requirements?</li><li>Whichever way we decide to go, would our choices still support our business needs, match our risk appetite, and still satisfy regulator requirements?</li><li>How do we ensure that we deliver a system that is complete and consistent with its own requirements?</li></ul><h3>But why is this important at all?</h3><p>Well, if we take for example a relatively simple agile delivery cycle for system changes, we discuss requirements; break them down as needed; bring together the product team and the tech teams; clarify and refine deliverables for the current delivery cycle and maybe the next; implement and test changes; and finally approve and deploy to production. We can find contraddictions and inconsistencies at any point in the cycle. Even after we deploy a set of changes, user experience can bring us back to the drawing board because users found out that some new function doesn’t make sense in the context of their workflows. Wouldn’t it be good to eliminate, or at least minimise, the chances of that happening in the first place? Wouldn’t it be good to quickly and effectively “shift left” the risks of implementing a system based on contraddictions and inconsistencies, and eradicate them from the outright?</p><h3>Ok, so what’s the idea here?</h3><p>I’m going to draw from <a href="https://en.wikipedia.org/wiki/Kurt_G%C3%B6del">Kurt Goedel</a>’s ideas in the fields of mathematics and logic, starting with some definitions:</p><ul><li>A <strong>complete </strong>system is one in which every possible statement or its negation can be constructed using elementary statements called axioms.</li><li>A <strong>consistent </strong>system is one that has no contradictions.</li></ul><p>Before the mathematicians in the audience start rolling their eyes and throwing up their arms in horror, please note we’re not doing a PhD in Mathematical Logic here: this is an article on systems requirements, so we’re just using <em>very simplified adaptations</em> of Goedel’s original statements in the context of a specific IT domain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6QMJX9LkG4TqtaSd" /><figcaption>Photo by <a href="https://unsplash.com/@silverkblack?utm_source=medium&amp;utm_medium=referral">Vitaly Gariev</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>The Goedel Metric</h3><p>So how do we know if our system requirements are complete and consistent? We start with <em>axioms</em>, which in our case are the simplest independent forms of our requirements, from which all other requirements then derive, either directly or indirectly. They’re like the foundations for all other requirements. Well … here’s the problem: Goedel <a href="https://en.wikipedia.org/wiki/G%C3%B6del%27s_incompleteness_theorems">mathematically proved</a> that a sufficiently complex axiomatic system <em>cannot </em>be both complete and consistent.</p><p>Applying Goedel’s theorems to requirements management, this means that a requirement set can contain inherent limitations: unprovable relationships, inconsistencies that don’t immediately break the system, or missing pieces that - if and when addressed - would complete the picture. These limitations are <em>inherent</em>, so there’s nothing we can do about them! What we <em>could</em> do, however, is try to measure the degree of incompleteness of our requirements, and track it over time. I will call this the <strong>Goedel metric</strong>. It would represent the degree to which a requirement set is “self-contained” and capable of proving its own completeness (or conversely, revealing its limitations).</p><p>But hold on… how would we use it? We would need to know which values of the metric are “good”, or at least “good enough”, so we need to build a benchmark first of all, and this would only make sense in the context of a family of related or similar projects within the same organisation. It would <em>not </em>make sense to compare metrics across diverse projects or between different organisations. Why? Because <em>completeness</em> and <em>consistency</em> here are inherently subjective concepts. So we would use one or more related projects and compute a benchmark. We would then track the metric as those projects evolve, trying to keep it within a nominal acceptable threshold. If new requirements appear to throw the metric over the limit, we should be able to drill down and perform one or more relevant actions to bring the metric back within acceptable limits:</p><ul><li>throw away the new requirement altogether</li><li>modify the new requirement, addressing directly any contraddictions and insconsistencies</li><li>mark one or more existing requirements as “obsolete” and ignore them from the computation of the metric in the future</li></ul><p>This really ought to be implemented as a one-click or two-click feature in whichever system of record is used for our requirements. We should be able to quickly compare (or ‘<em>diff’</em>) the new requirement with one or more existing requirements and immediately see the conflicting parts, in a similar fashion to the way developers would find and resolve conflicts in code changes.</p><p>As far as a completely new project is concerned, with no benchmarks, we will just have to monitor the metric from the start, and rely on expertise and experience to identify acceptable limits and control its deviation.</p><h3>Shaping the Goedel Metric</h3><p>So we think how do we go about ? It doesn’t look like an easy task at all. We will need to either find or define a mathematical framework that can capture the essence of Goedel’s incompleteness theorems, and use it as the foundation for a metric that will then provide an indication of the level of completeness and consistency of a set of requirements. The metric can use natural language processing (NLP) to synthesize 3 attributes:</p><ol><li><strong>Completeness:</strong> the proportion of requirements that can be deduced or derived from other existing requirements (the “axioms”), using e.g. local inference rules.</li><li><strong>Consistency:</strong> the degree with which the requirements are in agreement with each other, i.e. generating no contraddictions, using e.g. model checking or satisfiability (SAT) solving.</li><li><strong>Incompleteness:</strong> the extent of “gaps” or missing information in the requirements, e.g. identifying “undecidable” statements.</li></ol><p>This can be accomplished in many different ways using a variety of AI techniques like Graph Neural Networks (GNN) and rule-based augmentation on top of a NLP pipeline. The Goedel metric could then be some weighted combination of low-level metrics like node centrality measures, cycle detection, subgraph analysis, etc.</p><p>Implementation details can and ought to be very creative, but they are well beyond the scope of this article.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d9a7e4a99536" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Truth About Dashboards]]></title>
            <link>https://marcoscata.medium.com/the-truth-about-dashboards-dbc8b11b55d8?source=rss-ab007bcc10dc------2</link>
            <guid isPermaLink="false">https://medium.com/p/dbc8b11b55d8</guid>
            <dc:creator><![CDATA[Marco Scata]]></dc:creator>
            <pubDate>Sun, 28 Jan 2024 12:21:27 GMT</pubDate>
            <atom:updated>2024-01-29T14:41:45.152Z</atom:updated>
            <cc:license>http://creativecommons.org/licenses/by/4.0/</cc:license>
            <content:encoded><![CDATA[<p>We love dashboards, don’t we? They look pretty. They show numbers, dials, colurful charts of different types, maybe even some animations…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DjWazlD2IZEqPuee" /><figcaption>Photo by <a href="https://unsplash.com/@lukechesser?utm_source=medium&amp;utm_medium=referral">Luke Chesser</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>…but why do we actually build them in the first place?</p><p>Software engineering teams quite often have to implement some kind of visualisation requirements as part of their system deliverables, so they would usually ask questions to the product owner, like:</p><ul><li>what data would you like to see on the dashboard?</li><li>how do you want it formatted?</li><li>where do you want it placed on the screen?</li></ul><p>and so on. But there’s a fundamentally flawed assumption there: that customers already know the solution to their problem, and that dev teams are only there to execute the customers’ wishes.</p><p>Dev teams are there to <strong>help</strong> customers <strong>solve business problems</strong> by developing <strong>technical solutions</strong>. That’s what professional software engineering teams do. In general terms, professionals use subject matter expertise to help customers solve practical problems. Think of the average person using a construction firm to build a house. Is that person expected to provide all the details of the construction? Is the construction firm expected only to execute the customer’s wishes without question? No.</p><p>The client can probably draw a plan, express wishes about functionality and comfort, and provide a vision for the finishings, but the average client wouldn’t know anything about construction materials, local and national regulations, eco-friendly building techniques, energy efficient architecture, and so on. So the partnership between the client (who articulates the problem to solve and provides the overall vision) and the professionals (who provide subject matter expertise and implement the solution) has to be built on a two-way trust about their respective roles and competences.</p><p>Back to dashboards. Are there better questions to ask than the ones we saw earlier? You bet! And they would all spawn from a simple question: what problem are we trying to solve?</p><p>A dashboard is meant to be an enabler tool, not an FYI tool. Wait…what’s that? You never heard of that before? Admittedly, I’ve just made up that term. In simple words, those are tools that leave you with a sense of “ok, so what?”. Imagine you’re having a conversation with some friends and they tell you a long-winded pointless story about something that recently happened in their lives, while you think “uh…and you’re telling me this because…?”, but of course you just smile and nod at them while occasionally uttering “m-hm” and “yeah” or exhibiting other verbal and nonverbal signs that you’re still with them, but without saying what you really think, because that would be rude, and because “just listening” is a binding clause in the ancient unspoken contract of friendship that nobody can ever break without undermining the very foundations of modern society.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8RMSLjbA1utqtxnc" /><figcaption>Photo by <a href="https://unsplash.com/@armedshutter?utm_source=medium&amp;utm_medium=referral">Ayo Ogunseinde</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>So, what sort of decisions will this amazing colourful new dashboard allow you to make, that would be really hard to make without it? This is the very foundation of every dashboard. Decision making is the main problem that dashboards try to solve. Every individual piece of information on that dashboard, every datum, every widget, must contribute to make those decisions. If it can’t, then it has no reason to exist. Let’s see some examples.</p><p>Let’s say I want a dashboard with these pieces of information about my brand new e-commerce site:</p><ul><li>total number of visitors</li><li>total number of items purchased</li></ul><p>Seems reasonable, right? Well, I don’t think it is. This is an example of “FYI” tool. It tells me something about what customers are doing, but what kind of insights does that give me, and what kind of decisions does that allow me to make? Or, in simple terms, what problem (or problems) does that help me solve?</p><p><em>“We’ve got 1000 visitors so far today and sold 5000 items!”</em></p><p>Ok… so what? Is that a good thing? Is that a bad thing? If it’s bad, then what can I do about it?</p><p><em>“But yesterday we had 900 visitors and sold 2000 items.”</em></p><p>Ok… so we did better than yesterday? Then… let’s just… pat ourselves on the back and go back to work.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1MKNKhfVliK2cysV" /><figcaption>Photo by <a href="https://unsplash.com/@chris_ainsworth22?utm_source=medium&amp;utm_medium=referral">Chris</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Before you ask: no, that won’t help me at all in the determination of the end of year compensation, because that will be based on financial data and team performance data, not number of customers or number of items sold.</p><blockquote>“But…hold on, without a dashboard to start with, how would I know what other data I need?”</blockquote><p>Let me be clear about one thing here: a dashboard is a separate thing from a data exploration exercise. A dashboard is an operational thing: it helps you operate the system and the business by answering specific questions, so that you can make the right decisions on what to do to keep the system and the business going. A data exploration exercise helps you identify what questions to ask in the fist place. Once you figure out what’s important to know, then you put it on the dashboard.</p><p>I need whatever I see in the dashboard to help me make operational and business decisions. If it’s just stuff that’s nice to look at, or nice to know purely out of curiosity, then it’s useless to me.</p><p>Going back to the previous example, instead of</p><ul><li>total number of visitors</li><li>total number of items purchased</li></ul><p>I would rather have something like</p><ul><li>number of visitors in the last hour as a percentage of maximum supported capacity</li><li>number of items purchased per category in the last hour as a percentage of maximum supported throughput</li></ul><p>Now I can make technical decisions: scaling services in and out according to traffic; throttling user logins; distributing services across different regions; contact alternative suppliers that might help fulfil occasional spikes in demand; and so on.</p><ul><li>trend in visitors per hour during the last month</li><li>trend in number of items purchased per category per hour during the last month</li></ul><p>Now I can make business decisions: investing in marketing campaigns; extending or shrinking product ranges; managing inventory; developing limited time offers; and so on.</p><p>These are just simple examples. There is already a variety of key performance indicators (KPIs) used by e-commerce sites published out there in the wild. Use your favourite Internet search engine if you want to know more, but this article is not about KPIs: it’s about building dashboards that actually add value. And they only add value if they show you pieces of information that you can use to make decisions <strong>and act upon</strong>.</p><p>So when your client wants a dashboard, don’t ask “what kind of data do you want on it?”. Chances are…they won’t know and they’ll make something up from thin air, or purely out of hearsay. Instead, ask “what kind of decisions do you want to be able to make from your dashboard?”. This will inevitably engage in a thoughtful and insightful conversation of discovery that will not only give the client what they ultimately <strong>need </strong>(as opposed to what they thought they <strong>wanted</strong>), but also build that all-important two-way trust that successful projects depend upon.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dbc8b11b55d8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Truth about Automation]]></title>
            <link>https://marcoscata.medium.com/the-truth-about-automation-e8b3f96f1b70?source=rss-ab007bcc10dc------2</link>
            <guid isPermaLink="false">https://medium.com/p/e8b3f96f1b70</guid>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[continuous-delivery]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Marco Scata]]></dc:creator>
            <pubDate>Tue, 23 Jan 2024 13:00:03 GMT</pubDate>
            <atom:updated>2024-01-23T13:16:06.215Z</atom:updated>
            <cc:license>http://creativecommons.org/licenses/by/4.0/</cc:license>
            <content:encoded><![CDATA[<p>“We can rebuild him. We have the technology. We can make him better than he was. Better, stronger, faster.” — Oscar Goldman in “<a href="https://www.imdb.com/title/tt0071054/">The Six Million Dollar Man</a>”, an awesome TV series from the 1970s.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OTxpvGSyz8coZkKA" /><figcaption>Photo by <a href="https://unsplash.com/@lennykuhne?utm_source=medium&amp;utm_medium=referral">Lenny Kuhne</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>How many times have we heard the equivalent of “better, stronger, faster” across tech organisations? There’s this amazing new platform X that will make you so much better. Tere’s also this shiny new tool Z that will make you so much faster. They all fall under the umbrella of “automation”, with wich you can overcome human limitations and “go faster”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Ejh_SvuYsX_3fIj8" /><figcaption>Photo by <a href="https://unsplash.com/@nhoizey?utm_source=medium&amp;utm_medium=referral">Nicolas Hoizey</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Do you know <a href="https://en.wikipedia.org/wiki/Starting_blocks">those metal brackets that sprinters use at the start line</a>? They help them to set a good starting posture, tense the right muscles at the right time, and avoid broken ankles due to possible slippage. But they don’t make sprinters run any faster.</p><p>So what makes sprinters faster than anyone else? I don’t know for sure, but I would probably guess hard training and practicing. But it’s not just that, right? If they run with bad posture, weak stride, or poor breathing, then hard training would only reinforce those habits. Going faster starts with good habits. Hard training can then reinforce good habits and build a stronger physical and mental apparatus around them.</p><p>If you think this is just about sprinters, think again. This applies to pretty much every single human endeavour: sports, arts, school work, management, cooking, manufacturing… and yes, you guessed it: software engineering. Tools and practice only pay off when you have good habits. What do we tend to see in many tech organisations instead? Focus on tools, not habits.</p><h3>Waste</h3><p>Pretty much every process produces waste. In a full delivery cycle we start with a problem statement and we end up with a solution running in production. Every step in between produces different amounts of waste, some negligible, some noticeable. Think of a non-tech process that is wasteful in any shape or form, either by producing material waste, by doing something that adds little or no value, or a combination thereof.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cTFDtC98xig_zQK9" /><figcaption>Photo by <a href="https://unsplash.com/@majortomagency?utm_source=medium&amp;utm_medium=referral">Major Tom Agency</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Here’s a silly example: get some water from a source and fill some bottles using a large bucket <strong>*and nothing else*</strong>. The neck of the bottle is so much smaller than the bucket, so when you start this task you quickly realise how much water goes to waste every time you pour it into a bottle, so you adjust the pouring technique by pouring a little slower and more controlled, to get a narrow stream until you minimise the waste, but it’s next to impossible to actually eliminate waste altogether using this technique. Let’s say you manage to fill 5 bottles a minute by spilling the equivalent of 1 bottle in total, and can’t reduce waste any further, so your waste ratio is 1:5 . Now let’s say you do this so often that you have become highly proficient. Disregarding the laws of physics and natural biomechanical limitations for a moment, let’s say after a long hard training you manage to fill 50 bottles of water every minute, but now you’re wasting the equivalent of 10 bottles of water every minute, because the waste ratio is still 1:5. Now let’s automate this very same process, no changes, and get a robot to do this for us really quickly. The robot can fill 500 bottles per minute, wasting the equivalent of 100 bottles per minute. If 1 bottle of wasted water per minute was acceptable at the start, 100 bottles of wasted water per minute are not acceptable any more. So what now?</p><h3>Rethink</h3><p>There is a point where you need to step back and think of your process. Tools won’t do that for you. Can you can get rid of the bucket and use a pipe? Can you fit a tap with a valve to the pipe so that you can control the flow? Can you get someone to take the bottle to the tap while you manage the valve? Can you get someone else to alternate taking the bottles to the tap and back?</p><p>Or how about re-thinking the entire process by taking all the bottles right next to the source and dip each bottle straight into the source instead? How about dipping all the bottles at once? Once you get rid of the wasteful parts, then you can switch gears with automation and go as fast as you like. There’s virtually no limit.</p><p>I have worked with many teams in different organisations, and I have always made it clear that if we don’t start working on good habits, then we will keep producing waste, and any tools and platforms designed to make us “faster” and more “efficient” will also make us produce more waste, faster and more efficiently. So, <strong>focus on building good habits first of all</strong>. That will give you hands down the best return on your investment overall. Only then, you will be able to really accelerate your deliveries through automation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*v5r1ncLlUWJ0tEZ7" /><figcaption>Photo by <a href="https://unsplash.com/@vr27?utm_source=medium&amp;utm_medium=referral">vianet ramos</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e8b3f96f1b70" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The truth about Technical Debt]]></title>
            <link>https://marcoscata.medium.com/the-truth-about-technical-debt-fd4d59fa62a2?source=rss-ab007bcc10dc------2</link>
            <guid isPermaLink="false">https://medium.com/p/fd4d59fa62a2</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[tech-debt]]></category>
            <category><![CDATA[agile]]></category>
            <dc:creator><![CDATA[Marco Scata]]></dc:creator>
            <pubDate>Sun, 17 Jan 2021 19:36:27 GMT</pubDate>
            <atom:updated>2021-01-17T19:36:27.092Z</atom:updated>
            <cc:license>http://creativecommons.org/licenses/by/4.0/</cc:license>
            <content:encoded><![CDATA[<p><em>Tech teams all over the tech world have been battling with Tech Debt for generations. Reduce it, control it, fight it, tame it, kill it. But are we really sure we know the nature of the beast? Do we really see what we think we see?</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*3EBk1HTNIpi2MGVvTXlp6g.jpeg" /><figcaption>Image by <a href="https://pixabay.com/users/1820796-1820796/?utm_source=link-attribution&amp;amp;utm_medium=referral&amp;amp;utm_campaign=image&amp;amp;utm_content=2070384">1820796 </a>from <a href="https://pixabay.com/users/1820796-1820796/?utm_source=link-attribution&amp;amp;utm_medium=referral&amp;amp;utm_campaign=image&amp;amp;utm_content=2070384">Pixabay</a></figcaption></figure><blockquote><em>Disclaimer: this article reflects my personal views only, and has no connection to past or present employers.</em></blockquote><p>You should already understand the basics of “agile”. If not, take a look at the <a href="https://agilemanifesto.org/">Agile Manifesto</a> and you’ll see quite a lot of emphasis on collaboration, support, and trust. However, that’s not the purpose of this article. If you want to know more about “agile”, use your favourite search engine and feel free to consult the bazillion articles already published on that topic. Here we will only examine Tech Debt in the context of professional systems/software engineering.</p><p>I’ve been discussing Tech Debt with many teams over the years, across several types of projects in different companies, and from both business and non-business perspectives. Even though there is a healthy diversity in the methodologies adopted around identifying and managing Tech Debt, I have found in all cases a very similar approach and understanding on what Tech Debt actually is. Or rather, what it is <em>perceived to be.</em></p><p>There doesn’t seem to be a standard definition of Tech Debt that is unanimously accepted by tech communities worldwide (and no, I do not believe <a href="https://en.wikipedia.org/wiki/Technical_debt">Wikipedia</a> would really fit the definition of “universally accepted”). However, all the teams I have had the pleasure to work with, or even briefly interact with, seem to agree on a simple notion of Tech Debt that can be summarised as <em>“all the stuff we really should have done but didn’t do”</em>. But is that really the case?</p><p>Many organisations seem to think that Tech Debt is is something that tech teams “owe” to the business (hence the name “debt”), because somehow they (the tech teams) delivered a solution that is indeed meeting requirements but still missing a bunch of stuff, so now they (the tech teams) need to catch up, but because it’s “owed” to the business, no extra time/resources/allowances should be made, so whatever the tech teams need to do, they’ll have to do it in their own time and in no circumstances affect any other delivery.</p><p>This idea has been widely used in many organisations and has been unwittingly ‘sold’ to managers and business stakeholders by… whom? Could anybody outside the tech community really come up with the notion of Tech Debt and all that it entails? Doubt it. It must have been the tech teams who shaped the notion of Tech Debt in the minds of everyone else in and around their project, and make it sound like some kind of self-pity statement that begs forgiveness for not doing a good job. Of course, it eventually became a buzzword that has been used and abused for eons by pretty much anyone who is even remotely involved in the delivery cycle of a tech project.</p><p>Here’s an imaginary conversation on how it all started sometime during the dark ages of software engineering history.</p><p><em>“Why are you saying you need to work on this part of the system that you delivered 3 months ago?”</em></p><p><strong>Team: </strong>“It’s not gonna work for much longer with this kind of usage. We have to change it.”</p><p><em>“What am I going to tell our business partners?”</em></p><p><strong>Team:</strong> “Refactoring”</p><p><em>“Uh… what?”</em></p><p><strong>Team:</strong> “Maintenance”</p><p><em>“I thought maintenance is what you do after the system is done. We’re only half way through the project.”</em></p><p><strong>Team:</strong> “Uh… Tech Debt?”</p><p><em>“I like the sound of it. It can drive some cool-looking slides. How can we explain it better?”</em></p><blockquote>All the stuff we really should have done but didn’t do.</blockquote><p>Tech Debt gets passed on through generations of techies. It is <em>“inherited… with interests!”</em> when teams take over legacy projects. It is so embedded in the tech community that it has become like an “original sin” of biblical nature: as soon as techies are born, they are already marked by the Tech Debt daemon (pun intended) and they can be sure there’s a whole bag of Tech Debt waiting for them on their very first day of work as newbie in a feature team. Nobody escapes Tech Debt.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1zYN9qfXosvHGsou" /><figcaption>Photo by <a href="https://unsplash.com/@donnehhhh?utm_source=medium&amp;utm_medium=referral">Donovan Reeves</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>But let’s think about it for a moment. What’s haunting us, exactly? What is this beast that latches on to techies, sucks up resources, and keeps growing? Let’s break down that statement and see where it takes us.</p><h4>Stuff *WE* should have done but didn’t do</h4><p>It was *OUR* (the techies’) choice to either do it or not. We (the techies) chose not to do it. Therefore, it is *OUR* debt and *WE OWN IT*. Consequently, we will have to deal with it at our own cost, in our own time. Don’t even think of delaying that brand new feature the client is expecting, because they’re not gonna pay for anything else. Tech Debt is our problem, right?</p><blockquote>Wrong!</blockquote><p>We have a business problem to solve. We don’t write random code. We don’t deliver random systems: we develop technical solutions to real business problems. What we want is a clear definition of the business problem and clear acceptance criteria from clients. If they don’t provide either of these, then we help them do so. If the team is forced to work on fuzzy ideas, then expect fuzzy results.</p><p><em>“But… But… But you’re supposed to be agile!”</em></p><p>Agile — yes</p><p>Magicians — no</p><p>Once again, the intricacies of “agile” are beyond the scope of this article, but you don’t have to be a seasoned agile evangelist to understand that there’s a substantial difference between “agile” and “magicians”.</p><p>Are clients not happy with a feature that satisfies the acceptance criteria that they had provided? Did they say one thing but meant another? Or was a fuzzy problem statement the best they could provide? It doesn’t matter. The TEAM owns it, and it includes techies, product owners, business partners, clients, and whoever else is contributing to the project. It’s not Tech Debt: it’s just the way projects evolve.</p><h4>Stuff we *SHOULD HAVE DONE* but didn’t do</h4><p>We (the techies) had choices to make and we have always been aware that there was a better solution within our grasp, but for whatever reason we decided against it. We made a bad choice and now we have to own up to it. Tech Debt is our problem, right?</p><blockquote>Wrong! (again)</blockquote><p>Really, it’s not like techies decide to implement a rubbish solution on purpose. Whatever they do is the result of professional choices made on the basis of the information at hand and an analysis of the options within the given constraints. Architectural choices are not always easy to change, so in reality they crystallise pretty early in the life of the projet. Six months down the line new options may materialise, or some old constraints are lifted, or maybe even some business context is very different, but all this information was not available when important architectural choices were made.</p><p>Sometimes the company might dictate the platforms, libraries, and tools that are allowed, and these inevitably change over time. When they do, there is a chance that older systems need to be updated, or new features needs to be changed on the fly. Is there a new vulnerability in a library used in production? A new corporate policy about adopting a new version of a particular runtime? A new strategic direction to migrate to a new platform? Did the original business context forecast one hundred users and now they’re one million? It doesn’t matter. It’s not Tech Debt: it’s just the way systems evolve.</p><h4>Stuff we should nave done but *DIDN’T DO*</h4><p>We really really really wanted to do it right, but we thought we’d make our lives harder by doing it wrong and deliver it to production. Right?</p><blockquote>Wrong! (yet again)</blockquote><p>Code goes stale as soon as it’s written. Software engineers don’t write rubbish code on purpose. Even if they did, agile teams do pair programming, peer reviews, coffees around a whiteboard, and a million other good practices resulting in non-rubbish code that adds actual business value. It is not uncommon with professional software engineers to take a look at their own code written the day before and gasp in horror because they just thought of a cleaner and/or more efficient way of doing the same thing, so when they decide to reopen the hood of a system that is already in production it is quite possible that the design and coding choices they made a while back might not be the best fit for the current context.</p><p>In any case, a decision was made to go to production, and deploying to production is a business decision, not a technical decision. That’s what turns potential value into actual value. Yes there are technical details around the “how” a system goes live: database updates, cluster configurations, container management, etc. But the “what” and the “when” are business decisions. The “what” is the product itself, the actual functions and workflows that solve a business problem. The “when” is whatever release cadence suits the business case, from occasional releases to continuous deployments.</p><p>Does the code need refactoring? Of course it does! I have yet to see code that doesn’t need refactoring, or meet anyone who says so. That’s just part of the software engineering cycle. How can anyone even think for a minute that a system gets delivered once and then it doesn’t need to be touched ever again?</p><p>Does the system need to handle a use case that wasn’t identified before? Does it need to scale better? It doesn’t matter. It’s not Tech Debt: if the system was deemed good enough for production, then any changes resulting from that decision surely can’t be “Tech Debt”, since it wasn’t a tech decision in the first place.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qXWR4tedFWYLBsf5" /><figcaption>Photo by <a href="https://unsplash.com/@enginakyurt?utm_source=medium&amp;utm_medium=referral">engin akyurt</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>So what now?</h3><p>Techies of the world, stop perpetuating the myth of Tech Debt. There’s no such thing as Tech Debt. It’s just a myth. Choices were made, systems were delivered, and made it all the way to production.</p><p>Not adding value as expected? Can’t handle real usage? It’s called poor communication for all parties (not just techies). Learn from it as a team and move on.</p><p>Gone out of date? New tools/platforms/libraries being brought in? Refactoring? It’s called maintenance. Update it and move on.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fd4d59fa62a2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>