<?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 Csaba Tamas on Medium]]></title>
        <description><![CDATA[Stories by Csaba Tamas on Medium]]></description>
        <link>https://medium.com/@accelero?source=rss-5ea9fb1fc18f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*y0EDQFYRvzSVZ11j.</url>
            <title>Stories by Csaba Tamas on Medium</title>
            <link>https://medium.com/@accelero?source=rss-5ea9fb1fc18f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 08:36:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@accelero/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[A Zero to Hero Analytics Framework to scale your business]]></title>
            <link>https://ehandbook.com/a-zero-to-hero-analytics-framework-to-scale-your-business-e198b47e7bd2?source=rss-5ea9fb1fc18f------2</link>
            <guid isPermaLink="false">https://medium.com/p/e198b47e7bd2</guid>
            <category><![CDATA[big-data-analytics]]></category>
            <category><![CDATA[business-strategy]]></category>
            <category><![CDATA[business-intelligence]]></category>
            <category><![CDATA[business-analytics]]></category>
            <category><![CDATA[scaling-up]]></category>
            <dc:creator><![CDATA[Csaba Tamas]]></dc:creator>
            <pubDate>Wed, 14 Jul 2021 17:17:50 GMT</pubDate>
            <atom:updated>2021-07-14T17:17:50.719Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C2CKAZ_yLDsD7vTGy_2h1w.jpeg" /><figcaption>photo by Csaba Tamas</figcaption></figure><h4>How can business analytics transform the way you scale your company?</h4><p>Becoming a truly data-driven company is the “superfood” of customer-driven business growth. According to a <a href="https://www.microstrategy.com/en">MicroStrategy study</a>, data-driven decision-making leads to improved efficiency and productivity, better financial performance, improved customer experience, acquisition, and retention. But how can you turn your organisation into a data-driven one?</p><p>At the beginning of my analytics journey, I wasn’t sure where to start to get the most out of data. I read several books and tens of articles. I synthesised my research into a practical, Zero to Hero step-by-step blueprint. Read on for the complete overview of the “<strong><em>Scaling Analytics Framework</em></strong>” that can fuel your engine of growth for years to come.</p><p>If you think about it for a moment, building and scaling a company often follows a similar path to the one of developing and launching a rocket. It all starts with a bold idea, a series of iterative design and test cycles. Many of these end with a failure and the hope that tomorrow will be better. We expect success will knock on the door before we run out of money. Most product launches are modest events at first, but successful ones are slowly building momentum. Day after day, one step at a time. It is a continuous climb, much like the rocket that leaves behind the pulling gravity of Earth.</p><p>Just like the rocket follows a well-calculated trajectory, entrepreneurs are also defining a path towards the envisioned destination and are gazing at the climb on a central dashboard. But on a second look, scaling a company might be considered even more challenging: it is like launching a rocket to the Moon and trying to figure out most of the space-flight science during the flight.</p><p>Analytics plays a pivotal role in this process, ensuring that your engine of growth has enough torque while not blowing up halfway to the exit event. First, analytics helps you to identify and describe the forces that influence your engine of growth and your crew. Next, it helps you to calculate the shortest path to the exit event. It provides a framework to identify and measure the activities that will bring you closer to the goal, one step at a time. And finally, analytics helps you to track progress along the way. It shows if the subsystems of your business are performing under nominal conditions.</p><p>Analytics also provides early alerts: be it too much fuel or oxygen consumption, or approaching the surface of the Moon too fast or too slow. In the case of the business: it provides early alerts on change in the revenue trends or customer engagement.</p><p>A real-time, pervasive analytics framework, is paramount for delegating high-velocity decisions. It also ensures conceptual integrity and alignment among teams. The cause and effect of hundreds of variables suddenly become transparent to everybody. Decisions become pragmatic and thoughtful, beyond bias and gut feeling.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nCUbFxtG1rsMVF_4WYAB-A.png" /><figcaption>by Csaba Tamas</figcaption></figure><p>And that is the purpose of the “<strong><em>Scaling Analytics Framework</em>”</strong> that has 5 major steps: <strong>1.)</strong> exploratory analysis — understand what your customer wants;<strong> 2.)</strong> define your objectives, the precise direction where you are going — we call these output metrics <strong>3.) </strong>identify the performance indicators that lead you to your objectives — we call these input metrics <strong>4.) </strong>create situational awareness in your organisation using a cause-effect network of key performance indicators; and finally in step <strong>5.)</strong> track your performance and the validity of you your metrics and course correct when needed;</p><p>This system provides you instant feedback on course correction beyond the control room. Thus, individual teams will better understand the impact of their decisions.</p><h3>Step #1 — Exploratory analysis: figuring out what customers want</h3><p>Some business failure is a result of building products and services that nobody wants (while the entrepreneur is convinced about the viability of the idea). That’s why I encourage you to stop for a moment and distance yourself from the idea. Before you jump into the joy of building, try to figure out what your customers want. Or even better: what they need (a small, but important nuance).</p><p>Make sure you make what you can sell and not try to sell what you can make. And that means figuring out what people want to buy. Qualitative customer research is more important at the beginning of the product life cycle. My favourite book on the topic is called the Mom Test by Robert Fitzpatrick.</p><p>As soon as users start interacting with your product, you can shift to quantitative research using the ever-increasing amount of data. Now, you can run an exploratory analysis and look for a correlation between dependent metrics and desired outcomes. Some questions you could ask: what marketing activity shows the closest correlation to revenue growth? Which communication channel brings more customers? What product-feature increases engagement?</p><p><strong>When you go beyond correlation and find causation, you know you found a Jackpot. If you can identify what drives the behaviour of your customers, you can predict and influence the future.</strong></p><p>At this stage, however, we are targeting a potential correlation between your present actions and future results. In other words what input metrics lead to what output metrics. This is what we cover next.</p><h3>Step #2 — Define desired outcomes, the output metrics (a.k.a. lagging indicators)</h3><p>Let’s start with the desired business outcomes, like revenue and growth-rate. When you observe these, they are the result (output) of your past activities. That’s why we also call these “<strong><em>lagging indicators</em></strong>”. They show a reality that lags behind actions delivered in the past.</p><p>The series of output metrics are representing your path to the Moon. The destination of your rocket. Here you answer <strong>WHAT</strong> would you like to achieve, as opposed to <strong>HOW</strong> can you achieve it.</p><p>You can start by asking yourself: what is the business outcome you want to see at the end of this period (quarter or fiscal year)? The answer can be anything in the range of the number of activations, the number of monthly active users, retention rate, net promoter score, app store rating, or revenue growth.</p><p>I recommend defining at least one output metric in all key areas, such as sales, marketing, product, and operations. Some standard metrics can get you a jumpstart, be it the so-called “Pirate Metrics” or the “HEART Framework”.</p><p>The Pirate Metrics include Activation, Retention, Referral, and Revenue. These are focused on your sales performance. The “HEART Framework” on the other side is focused on your product performance. The metrics include Happiness (attitudes or satisfaction), Engagement (or user involvement), Adoption (number of new people using your product or feature), Retention (users who stick with your product), and finally Task Success, which covers behavioural metrics of UX such as effectiveness, efficiency, error rate.</p><p>Output metrics are usually easy to measure. On the downside, it is hard to identify the actions that can improve them. Think of revenue: it is simple to measure, but there’s no single conclusive step that you can follow to improve it. Since we are looking for a system that can give us direction and magnitude, we need to keep going.</p><h3>Step #3 — Identify input metrics that influence future outputs (a.k.a. Leading indicators)</h3><p>If output metrics — discussed in the previous section — are about defining the <strong>WHAT</strong>, input metrics are all about the <strong>HOW</strong>. There are at least two reasons why these are the most important metrics: a.) They give early indications of performance, thus they can predict the future, and b.) opposed to the output metrics, these are actionable. They describe the actions you can take to improve future outcomes.</p><p>Many businesses stop at defining and tracking output metrics in the boardroom. That’s not great, because output metrics can only be observed after the fact and you need input metrics that you are in full control of.</p><p>Take the example of the Net Promoter Score (NPS), which captures the customer’s sentiment towards your product or service. We can only observe its value at a time when the underlying customer sentiment is already settled. Input metrics — on the other hand — like “<em>Average First Call Resolution</em>” or “<em>Daily Active Users</em>” are early indicators that predict future NPS values.</p><p>But how to find the right input metrics for future NPS? Just ask the magic questions: What are the customer behaviours that predict satisfaction? What are performance metrics that will have a positive impact on customer satisfaction?</p><p>You could look at customer-service quality for example. Ask how promptly your teams are responding to a complaint? What are those complaints about? Does the increase of complaints correlates with the decreased NPS values? What is the number of average distress and inconvenience payments? What is the elasticity between the inconvenience payment and the NPS score? What are the root causes of those complaints? What is the value of successful resolution for those complaints?</p><p><strong>Note: </strong>leading indicators are a.) early predictors of future outcomes and b.) measure activities that you are in full control of.</p><h3>Step #4 Create situational awareness by ensuring business observability</h3><blockquote>“Entrepreneurs are particularly good at lying to themselves. Lying may even be a prerequisite for succeeding as an entrepreneur — after all, you need to convince others that something is true in the absence of hard evidence. […] As an entrepreneur, you need to live in a semi-delusional state just to survive the inevitable rollercoaster ride of running your startup. Small lies are essential. […] But if you start believing your own hype, you won’t survive. You’ll go too far into the bubble you’ve created, and you won’t come out until you hit the wall — hard — and that bubble bursts.” —<strong> </strong>Croll and Yoskowitz / Lean Analytics<strong>.</strong></blockquote><p>Yes, you need to deceive yourself a bit, but not to the point where you’re jeopardising your business. That’s where continuous, real-time situational awareness comes into the picture.</p><p>Let’s package your business intelligence into a graph of input and output metrics. I call this a <strong><em>Key Performance Indicator Tree (KPI-Tree in short)</em></strong>. Combining the business outcomes (the output metrics), and the input metrics (the actions you need to take), we build a funnel. Or better said: a tree structure of KPIs that are representing the trajectory of your scaling business.</p><p>A KPI Tree is a powerful visualisation tool that helps to break down the organisations objectives into granular activities. This is somewhat similar in concept to the Objectives and Key Results (OKR) used by many startups today. It differs from it by providing higher granularity, immediate visibility, and tracking continuous performance metrics (not just new growth areas).</p><p>These are the steps to build a KPI tree of your own:</p><ol><li>The root of the tree is the output metric, the business outcome;</li><li>The leaf nodes of the tree are other output metrics that are part of the main output or the input metrics that lead to the desired main output.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/616/1*Iya8LWNxep3_pJfSnr0Frw.png" /><figcaption>by Csaba Tamas</figcaption></figure><p>Let’s use an example to illustrate the concept: say your goal is to close 50 new deals (a lagging indicator). With a six-month-long sales cycle, you would only know if you succeeded at the end of the 2nd quarter. To build an early warning system that gives you time to steer the rocket, you could set leading indicators to track your progress. Think about it: what could be a good candidate for the leading indicators in this scenario? How about <em>Pipeline Volume</em> or <em>Number of Calls</em>/<em>Meetings</em>/<em>Emails</em> per sales rep.</p><p>By tracking these metrics, you build a real-time perception of progress. You will know ahead of the period if you need to increase outreach efforts to meet your <em>Deals Closed</em> goal.</p><p>The combination of multiple KPI-Trees will lead to high business observability, which is a prerequisite tool for high-velocity decision-making.</p><p>The web of KPIs interwoven into the fabric of the organisation leads to increased business observability and this, in turn, leads to an increased ability of the organisation to better understand itself and adapt fast to changing market conditions.</p><h3>Step #5 Measure, Refine and Improve</h3><p>At the beginning of your product design process, you will make many hypotheses. You will try to define the customer needs and identify potential input metrics that lead to your desired outcome. As the business evolves, you will need to revisit your output metrics and redefine your KPI-Trees as you validate many of your early hypotheses.</p><p>Good metrics that help you grow fast are actionable, comparative, reliable, understandable and usually, take the form of a ratio.</p><p>Once implemented and maintained, the “<strong><em>Scaling Analytics Framework</em></strong>” will provide purpose and direction for your teams. It will assure a holistic understanding of the value streams and lead to real-time business observability as a basis of high-velocity decision-making. These elements are the main ingredients of an autonomous organisation, which scales faster due to its ability to react to changes in the environment autonomously. And that is the basis of a data-driven organisation and a key capability that will contribute to your sustained growth.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e198b47e7bd2" width="1" height="1" alt=""><hr><p><a href="https://ehandbook.com/a-zero-to-hero-analytics-framework-to-scale-your-business-e198b47e7bd2">A Zero to Hero Analytics Framework to scale your business</a> was originally published in <a href="https://ehandbook.com/">Entrepreneurship Handbook</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Digital transformation? or better said: corporate cultural evolution]]></title>
            <link>https://medium.com/digitaladoption101/digital-transformation-or-better-said-corporate-cultural-evolution-562917abdab0?source=rss-5ea9fb1fc18f------2</link>
            <guid isPermaLink="false">https://medium.com/p/562917abdab0</guid>
            <category><![CDATA[organisation-development]]></category>
            <category><![CDATA[business-strategy]]></category>
            <category><![CDATA[digital-transformation]]></category>
            <category><![CDATA[digital-trends]]></category>
            <category><![CDATA[innovation]]></category>
            <dc:creator><![CDATA[Csaba Tamas]]></dc:creator>
            <pubDate>Wed, 09 Jan 2019 14:56:11 GMT</pubDate>
            <atom:updated>2019-01-09T14:56:11.221Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qSPUvBdpcdz7tnluy-liLQ.jpeg" /><figcaption>Photo by Brxxto on Unsplash</figcaption></figure><p>By now we all heard the expression of digital transformation and most pre-internet companies had one or more attempts to go through it. We might even agree that is imperative to transform all businesses, from small to the large enterprises. What remains yet to be clarified is what digital transformation actually means for every organization in particular.</p><p>And that’s no surprise because the name itself is somewhat deceiving… But more on that topic in a minute. First, let’s take a step back and have a look at why this subject is discussed so much?</p><p>Something has changed in the past two decades: more and more customers of the 21st century are indulged with instant gratification, an effortless fulfillment of their needs. Just think of Amazon’s personalized product recommendations, seamless/one-click checkout process and same day delivery. Or Netflix’s instant access to the latest and highest rated tv-shows.</p><blockquote>“People have a voracious appetite for a better way, and yesterday’s ‘wow’ quickly becomes today’s ‘ordinary’.” — Jeff Bezos, Amazon’s CEO</blockquote><p>The ones who are able to deliver hyper-relevant customer experiences, continuously win market share to the detriment of the incumbents.</p><p>The average age of an S&amp;P 500 company is under 20 years, down from 60 in the 1950s, according to Credit Suisse.</p><p>The most cited reason is the disruptive force of technology, which is killing off older companies earlier and at a much faster rate than decades ago according<a href="https://www.cnbc.com/2017/08/24/technology-killing-off-corporations-average-lifespan-of-company-under-20-years.html"> to this article from CNBC</a>.</p><p>Therefore, it is no surprise that enterprises — small and large — are rushing to establish digital transformation initiatives, appoint Chief Digital Officers and start expensive IT projects in order to digitalize their existing processes and product offerings… and then fail, try again and fail again.</p><p>Abundant underlying reasons are cited in business journals and white-papers of well known consulting firms: lack of CEO sponsorship, talent deficiency, resistance to change, lack of consensus and so on.</p><p>I would argue that these are rather symptoms or collateral struggle at best.</p><p>I question the somewhat common belief that digital transformation is about the digitization of current business models and current customer interactions, hoping this effort to remain economically viable and help corporations to stay relevant.</p><h3>Digital transformation is more about the culture which places the customer in the center of attention and builds seamless experiences — not products — around it.</h3><p>Successful challengers are continuously revolving around the customer experience.</p><p>Technology definitely helps to create beautiful experiences. However, it is not the game-changer itself, only an enabler. Starting expensive — sometimes hype driven — IT projects and hoping for groundbreaking turnarounds is like hoping that access to a computer in the early eighties will make us the next Bill Gates or Steve Jobs.</p><p>The successful players all understand their customers better than anybody else in the same category. By ensuring in-depth customer conversations, by building a community, by A/B testing every feature, by understanding the individual differences while applying big data techniques.</p><p>So, how can we achieve this paradigm shift? How can we make sure that every corner of the organization will place the customer experience in the center and will revolve around it?</p><p>If you think about for a moment, you’ll soon realize that a few radical changes are necessary to the way how the enterprises are being run today. Let’s start the journey with a few pivotal organizational and cultural changes below.</p><h3>Empathizing with the customer is better done in small cross-functional teams.</h3><p>No C-level executive has enough time to visit hundreds of customers and build relevant reports for his team for every planned feature. No siloed account management team will be able to think of the problems of customers beyond the products they are measured to sell. No siloed product management department is able to distribute a first-hand understanding of customer insights within the organization. Nor is able to identify possible solutions for problems packaged into these insights.</p><p>A siloed, functional organization will work as a natural information filter at the department boundaries. Departments further away from direct customer interaction will have less access to critical understanding of the customer’s context, needs and wants. At the same time, departments with direct customer interaction will have a limited understanding of their organizational capabilities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/305/1*v_DdtLqWZGFO7CymqrKe2Q.png" /></figure><p>One critical step is to rearrange the organization into a set of small cross-functional feature-teams with responsibility for a key business area, product feature or very small customer segment. This team is small enough to meet and understand <em>the customer</em> and its problems. These teams should have an immediate and measurable feedback loop (be it customer acquisition, profit and loss responsibility, or any other metrics which clearly shows the performance of the team).</p><p>Feature-teams can take most of their own decisions autonomously, experiment or adapt their strategy without the need to seek approval from any disparate department. They own the risk and the projected rewards as well, which leads to no need for upfront alignment and control.</p><h3>Traditional project organizations aren’t a good fit for developing seamless customer experiences. They are better built together with the customer.</h3><p>A great way to reduce the risk of product innovation failure is to continuously sense what the customer needs. I would like to emphasize the word needs as opposed to wants.</p><p>There is a subtle difference, as underlined in the in the famous quote attributed to Henry Ford:</p><blockquote>“If I had asked people what they wanted, they would have said faster horses.”</blockquote><p>So how can I learn what customers need? Well, you need to be around them, to observe them every day, in every situation. It all starts with ideating together. Some use the term validating: bring your idea to your potential customer and discuss it together. Build a prototype, let them discover it, play with it.</p><p>As the old adage says: “<strong><em>appetite comes with eating</em></strong>”. Once the prototype is the team will receive enough feedback to iterate: change or improve the prototype and evolve it into a growing product or service.</p><p>We can spot yet another pivotal aspect here: at the beginning of developing a new customer experience, we only know one thing for sure: we want to delight the customer. But we don’t know the way, the exact tasks, the required expertise nor we can calculate a critical path. Traditional project management approach with tasks, milestones and earned value management is far from being the perfect fit for this case.</p><p>In a typical project organization, we need a project manager who constantly reminds us that we are behind the schedule. As opposed to the empowered, feature-team which is eager to succeed while inspired by the product owner. By the time the traditional project organization finalized the project charter, the budgeting, the work breakdown structure, communication plan and forecast, the feature-team is ready with the first prototype (or even the minimum viable product).</p><p>The cross-functional feature team is working for the smile of the customer and recognition, not for ticking a box in the project manager’s obscure Gantt chart somewhere, behind a glass door. The team might not even have all the needed expertise, however, team members are well aware that they will only succeed by pulling the next task from the queue, and make their best to deliver.</p><p>In the traditional project organization, you will often find countless-hour-long meetings discussing what key managers think about what the customer problem is. Often time consensus will be reached after months, if at all. In the meantime, the feature-team will simply go through quick experimentation, launch two variants of the same feature, run it for a while and let customers decide which one they like. Straightforward, isn’t it?</p><p>You might wonder at this point, why I am not calling the feature-team an “<em>Agile Team</em>”. Well pointed: I believe a team won’t become agile just by implementing a daily standup, nor rebranding the project manager into a SCRUM Master. An agile team is able to react to changes using its autonomy connected to responsibility, needs no decisions or approval from the outside.</p><h3>Traditional project organizations measure project success. Successful organizations measure everything; customer success in particular.</h3><p>What people perceive is usually what they believe, and this is based on what they hear, see and think. Corporates which lack transparency and hard evidence for every aspect of the customer experience, are exposed to the perception of a few influential persons. Needless to say, false assumptions are the primary reasons for failed products and services.</p><p>Some incumbent organizations measure sales pipeline and a few other critical business performance indicators. Their expensive data warehouse solutions are providing the required information on a monthly or quarterly basis and most of the time only for a selected few.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/825/1*mE9HDjsvl-lkKhKR1SXS7Q.png" /></figure><p>Successful organizations measure every aspect of customer interaction, product usage, touchpoints on all channels and the current sentiment in social media. They convert this data into <strong><em>actionable insights at the point of decision</em></strong><em>.</em> In other words, they extract the relevant business aspects on a daily basis or near-realtime and present them to all teams who are in charge to set a new course of actions. Think about the power of that practice. The decision speed and safety which is instantly available for these organizations, for everybody at any level of granularity.</p><p>Even small anomalies in the data patterns enable them to react instantly to market changes or identify internal product/process deficiencies or opportunities.</p><p>Teams with access to data are identifying micro-problems of small customer segments and provide them micro-solutions in the form of product variants or specific features. They are even providing a personalized offer for each individual customer.</p><h3>Summary</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/546/1*rEFeOVotDmbieQe1ZJgNFQ.png" /></figure><p>Digital transformation is more about organizational and cultural transformation supported by the latest advancements in technology. Digitizing old business models and customer interactions won’t maintain economic viability or relevance. The organization needs to be rebuilt around the customer and its experience. That being said, digital transformation cannot be seen as a strategic act alone, but more as a cultural shift of the whole organization.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=562917abdab0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/digitaladoption101/digital-transformation-or-better-said-corporate-cultural-evolution-562917abdab0">Digital transformation? or better said: corporate cultural evolution</a> was originally published in <a href="https://medium.com/digitaladoption101">Digital Adoption 101</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Maintainable software: why would I care and once I do, how do I know I see one?]]></title>
            <link>https://accelero.medium.com/maintainable-software-why-would-i-care-and-once-i-do-how-do-i-know-i-see-one-91896ecff08f?source=rss-5ea9fb1fc18f------2</link>
            <guid isPermaLink="false">https://medium.com/p/91896ecff08f</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[software]]></category>
            <category><![CDATA[software-craftsmanship]]></category>
            <dc:creator><![CDATA[Csaba Tamas]]></dc:creator>
            <pubDate>Mon, 22 Oct 2018 14:58:50 GMT</pubDate>
            <atom:updated>2021-02-14T16:14:03.590Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wJ28sLvF2Abc6DD2aL3lWQ.jpeg" /></figure><p><strong>No matter what, the code you just shipped became obsolete at the moment you rolled it out to production. In case your product is successful, improvements will be added and defects will be fixed throughout the 5–10 years lifetime (research shows that maintenance cost will consume 40 to 80 percent of the total cost). Therefore we can say: code is written only for being read and changed by others.</strong></p><p>Most development shops spend the least amount of energy preparing their software for maintenance even though this is probably the most critical (and expensive) phase. As a consequence, roughly 30 percent of the maintenance time is spent on “<strong><em>understanding the existing product</em></strong>”. Missing documentation, unreadable and insufficiently designed code will hit production — all under the flag of the agile movement — and make the life of tens of developers miserable for years to come.</p><p>Many researchers do agree that about half of the software bugs are due to missing requirements clarification and documentation and for most shops rediscovering requirements while working on the features is just business as usual. This observation is the main reason why the agile movement welcomes you to embrace change (subsequently software designed to adapt to new requirement discoveries).</p><p>Here are a few aspects I consider important ones for achieving maintainable software:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/404/1*gLbFPBlK7lb42EB_RGoQ6A.png" /></figure><h3>Domain model as the ubiquitous domain language</h3><p>Quite a mouthful expression… hah?</p><p>Think about it for a moment: how many times you needed to rework the feature you just shipped because it turned out it was built on the top of a misunderstood business process between product management and engineering? It might also have happened because the documentation was unclear…or entirely missing.</p><p><strong>Ubiquitous domain language</strong> compensates for such cases by defining <strong><em>the one true language </em></strong>which describes the business domain and processes (the entities and the actions they are involved in) and is spoken by product managers, operations, developers and customers. Development revolves around the one true language, which is beautiful in the eye of the beholder through its simplicity and unambiguity. Simplicity is achieved through encapsulation while unambiguity via dedicated types (aggregates and value objects). Domain driven design provides good guidelines for building a framework agnostic core library (using Entities, Value Objects, Aggregates, and Repositories).</p><h3>Changeability</h3><p>We all heard about “<strong><em>spaghetti code</em></strong>” or the “<strong><em>big ball of mud</em></strong>” (a software system which lacks a perceivable architecture, undesirable but common in practice)… but how does it looks and smells like? More importantly: how can I avoid ending up being the proud owner of a big ball of mud?</p><p>Loosely coupled, component-based architecture leads to maintainable software which is easy to change (hence the prefix “<strong><em>soft</em></strong>” in the word <strong>soft</strong>ware). All components have one single responsibility, with well-defined input and output requirements, emulating the real world processes between teams. Components delegate their subtasks to other components via the well-defined agreement. A component can be changed anytime without the delegator observing it, given that the new component fulfills the previously agreed pact (some programming languages provide you with the concept of an interface to force this agreement). Faults can only appear within the context of the components.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/350/1*dSHi61UTwBybnNMS6XDqIw.png" /></figure><p>Sounds a lot like the definition of the — now overhyped — microservices? Hell yeah! These concepts were here from the early days of computing, got hijacked by the microservice movement, however, it is not unique to that domain by far.</p><p>Maintainability is inversely proportional to the number of public classes, dependencies, microservices (you name it). So you want to keep it simple. I mean really simple. A key approach to that is refactoring and metaprogramming. Not to mention a lifelong ban on code duplication.</p><h3>Testability</h3><p>Why would you care: we all test our code in production for decades and we are quite happy with that approach. Isn’t it?</p><p>Well, the cost of incident handling in the development phase is 2–3 times lower than in case of the acceptance testing and at least 10–15 times lower than in production. And that only at the first iteration of the software, which will be followed by 5–10 years of modification and improvements.</p><p>These are the compelling reasons to test components automatically in isolation during the development phase (also known as unit and integration tests).</p><p>Not being able to test components in isolation is a sign of failing the single responsibility principle. If the component has clear input and output-values it can easily be mocked and the behavior asserted as part of the acceptance test.</p><h3>Observability</h3><p>So, you did your everything in your power and tested the software for all possible cases which come to your mind… however, there are the unknown unknowns (the things we don’t know that we don’t know). That means: despite my best efforts, I test in production and so do you… And that’s the moment when <strong>observability </strong>comes handy. By that, we mean systems which are easy to debug and their logs provide enough information about what’s happening right now. <strong>… </strong>Observability<strong> </strong>is about being able to ask arbitrary questions about the software environment without having to know ahead of time what you wanted to ask.</p><p>The secret to this is to hope but verify and measure everything (remember, hope is not a winning strategy). Your software should provide timers, gauges, counters and arbitrary events which later can be queried in operation to gain insights on a running software, reducing the time of incident handling from days to minutes. Don’t forget: the best companies out there, are able to deliver a fix for an incident within 1–2 hours on average.</p><p>Happy crafting, may the force be with you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=91896ecff08f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>