Software Maintainability and Design
Transcript
When investing in a piece of supply chain software there is the expectation it will last the company decades rather than just years. However, from the perspective of the vendors the rapidly changing tech landscape means just maintaining this is no mean feat. As such today we're going to discuss about maintainability and why it's such a challenge and also understand how it can be impacted by good design. So Joannès, it's an intriguing topic today and maintainability is something that you'd normally think wouldn't be associated with software, software doesn't really degrade, so what's the idea? Well, actually software does degrade and yes it's not like mechanical degradation, you know, there is not like tear and wear where after use things become physically fragile to the point they break down. Software is not the same thing but things do fall apart over time and that's something that is maybe very surprising because some of the largest
and most successful software companies, let's say Microsoft, have been precisely incredibly successful because they had an insane commitment to the long-term survival of their products, and it's literally a testament to the success of Microsoft that you can at present time, you know, in 2020, you can take a Microsoft Word document that was edited in 1995 and open it and you can still print it, so it's incredible but
I believe people fail to realize that Microsoft was fairly unique in this regard, having this mindset of long-term commitment to their products and if you were to try any of their competitors - and nowadays people don't even remember that you know Microsoft Word, Microsoft Excel had, you know, plenty of competitors - none of them would actually work. So let's go down to the path that software degrades and it mostly degrades
due to entropy, to the fact that this is a forever changing landscape, you know, the hardware is changing, software is, you know, a very composite product at its core you have to run anything, you're typically involving dozens of parts provided by dozens of companies, and those things are not necessarily very well maintained over time and when there is something that changed, there is no clear reason why would all the other parts
remain completely compatible and correctly integrated with the part that has just changed. I mean, the tech landscape is one that's really changing and changes very rapidly. So what is it that Microsoft did well? Why is it that they could impact upon the longevity of their software? I mean, at the core they did really care and they made insane investments for that. I mean, a lot of people complain that, let's say,
Microsoft Windows is so bloated, you have so many things that if you go for Linux operating system, it's so much leaner and better organized and more sensical overall. True, absolutely true, but try to run anything on a program that was written for I would say a Linux 25 years ago, it will not run. The games that I purchased as a teenager back in the 90s for Windows 95, still run nowadays so I believe that this illustrates that you can do things right with an insane level
of commitment and if you read the Microsoft blogs on what they are doing, you know, to ensure this maintainability I would say they go to insane length, literally. Now for supply chain software you cannot expect the same degree of commitment just because the market is not as large and you simply don't have companies that go into such extensive length to do that, plus you have another problem which is the supply chain software are also very very complex because it's typically distributed, because there is many many moving parts, so that makes maintainability all the more complicated and now the question is: "why do you have any change at all
and why can't you just freeze a piece of software and stay with it, you know, forever"? And the answer is well, first the computing hardware itself is changing so you can't just say this thing will run forever. I mean, yes you can now use virtualization to mitigate most of those problems although virtualization is frequently not quite completely perfect emulation of the hardware that you used to have so it can help but then it's not just the hardware to do the compute it's also the fact that for example the very way you consume, so for example screens have a lot more pixels nowadays,
you can have touch screens, you have plenty of things that don't exactly behave like the old systems, sometimes you have even like weird systems, if you look at very ancient systems where you have keyboard keys that are just gone, so if the software was designed for certain keys, I mean maybe it was obvious at the point of time, but now that the key is gone all the setup of the the keyboard is different, it's much less intuitive and then that's just one part of the problem, that is evolving relatively slowly you know, but then you have all the security issues, I mean, most of the software that has been produced historically was absolutely not designed for all the sort of modern threats that we have nowadays, so that puts an immense pressure to basically change tons of things in many many software components. So people always want to be using the
latest tech when they're in their workplaces so would you say that's more of a dominant issue or is it more the security side of things and the fact that it wouldn't be safe to use these pieces of software? So first maintainability I think it's a sort of issue where supply chain managers are mostly unaware of it, mostly. And when they are aware of it, they only see the problem through an angle which I believe to be exceedingly weak, which is whether the vendor will still be present or not. And my proposition is maintainability has nothing to do with the survival of the vendor. Yes, having a vendor that is still alive is kind of a plus, kind of, but it's not even that much of a plus
because let's face it, I mean, many vendors have a massive perverse incentive to have something that is absolutely not maintainable. How are they going to sell the next version otherwise? Usually this problem is even absent is that you're not looking at the problem from the right way, imagine, you know, a piece of software, you know, a complex piece of software - like an enterprise supply chain system -
imagine a system that had, you know, millions of moving parts, literally millions. And you had dozens of companies who were tweaking at any single point of time, you know, some of those parts for a huge variety of reasons, sometimes you want to be compatible with new hardware so when you do that you might actually create accidental incompatibilities with some ancient hardware, you want to be compatible with a new operating system
because for example Linux keeps changing, Windows keeps changing, so you want to basically be compatible with the latest but by introducing some compatibility with the latest system, you might actually accidentally introduce some incompatibility with the ancient system and again just to give you the scale of the task, I was reading, you know, on the Microsoft publication that at a point Microsoft was ensuring the compatibility with over a million printers. Just think of it! One million printers with different drivers and instruction sets, different hardware etc. How much, you know, engineering effort do you need to ensure compatibility with one million devices? This is borderline insane and then you always have people who say: "ah Windows is such a crap, you know, I've just plugged my 17 years old printer that was the Epson 7.1.6.b, you know, Slovakian edition,
and guess what? Microsoft is not 100% compatible with this device, which is obviously such a flagship reference, but joke aside you have this massive going back to supply chain, you have this massive piece of software, you have tons of moving parts, the database you rely on is constantly upgraded, the network layers you're using are constantly upgraded, the web server that you're using is constantly upgraded, you have so many moving parts
and so by default what you have is, unless you actually engineer specifically your software to be highly maintainable, it's not going to be maintainable. Thing about supply chain is it's very much kind of a longer game that people are playing and it's not only to vendors that we should be thinking about, is how are they going to stick around but it's also all the people that vendor interfaces with. And so how much confidence can you actually have that these other companies will still be there in the future as well? So again the fact that companies will be there or not mostly doesn't care. Mostly this is not the proper way to think about that. Again, if you have vendors that are still there but that have a vivid incentive to basically make the thing unmaintainable to sell more, have you actually made any progress towards maintainability or have you actually run in the opposite direction?
So you need to analyze the situation through the incentives that the people have and, that's my belief, is that maintainability is pretty much a matter of design, but what kind of design exactly are we talking about? And here I believe that it's mostly about the conservation of the technological mass. You see, if you want to have a product that makes very very cool demos, what do you need? You need the latest and coolest
data visualization library. You need the latest and coolest UX library. If you want to have fancy real-time analytics you need to have the latest and coolest subsystem to do that etc. So your incentives to win demos, to win clients through demos is to have a wow effect and for example a lot of my clients were telling me "oh, our ERP screens just look like text terminals, you know, just black and white, pure text". They were saying "oh, we really have to do something".
And I challenge that because when I'm looking at those terminals that look like, you know, we are back in the early 80s or late 70s, and I see people using those terminals and it's like super fast, incredibly responsive, the screen is ultra minimalistic, there is like five commands that you have to know by heart but this is it, no distraction whatsoever, it's like purely utilitarian and people have I would say an insane productivity with it. Yes, it looks like crap,
and why is it highly maintainable? Because you have literally no dependency whatsoever and certainly no web dependency with web browsers that keep changing and again if you look at, you know, both the oldest part of supply chain and the most advanced part of high frequency trading in finance you would see that the user interfaces are kind of similar because if you look at what those quantitative traders are using, they are using super advanced systems, you look at their user interfaces and it's text terminal all of again and you would think "oh it's kind of bizarre those people are absolutely state of the art and their UI looks completely crap", completely the opposite of what you would think of I would say the Hollywood movies of user interfaces. It seems because everybody wants to be using those latest technologies so it's what you're saying, that basically having a product that's very maintainable means that ultimately you can't be very much at the cutting edge?
I mean, again, if you're cutting edge in terms of maintainability, why not? You know, I'm not saying that we haven't made progress in this area as well, we did, it's just that it doesn't trigger any kind of wow effect, you know. When you have very very clean versioning strategies in place, when the components that you pick have some very interesting philosophies such as for example are you picking components, software components where the philosophy is "we are done with the
design of this piece of software and now it's explicitly all about maintainability, you know, there are some components that we use that are open source components, that have exactly this philosophy, there is a manifesto, this problem has been studied for the last 20 years we have converted to what we feel is the best trade-off in terms of design and we are done and now all we will ever do with this component is proper maintenance just to ensure that in terms of security there is nothing seriously wrong, that in terms of compatibility there are no accidental problems and we will not keep reinventing ourselves so you say "ah it's disappointing, it's the opposite of innovation", but again, do you need to have innovation on every layer of your software? Are you going to keep reinventing the way you're dealing with your calendar? Are you going to keep reinventing the way
you're storing passwords for example, unless there is some cryptographic attacks that have been invented and that require you to upgrade, so literally you want to choose things where you already have stability and it's interesting, software engineering is not a new discipline, we have now about 50 years worth of history to learn from. It's a lot but the question is that again because clients or prospects, you know, most of them and that would be my message for the
audience, they don't pay attention to that so as a naïve question as "are you going to be still around"? Versus "what is your incentive to make really sure that your software is maintainable"? As opposed to do the opposite so that I will buy your next license. So what should that supply chain practitioner be looking out for them? What are the clues that there's a piece of software that's very maintainable compared to a piece of software that's maybe just a bit old-fashioned and actually people are just kind of being maybe lazy?
First, I would say, just look at the incentives because it's not so technical, so for example if you're buying a license or something where the vendor is basically charging hefty implementation fees, that means that the revenues of the vendor are concentrated at the beginning of the project and then what happens afterwards is just less of the same so it's literally a downward trend which means that the vendor has a structural incentive to basically
have those hefty implementation fees be repeated as frequently as possible. That's, you know, one way to look at it. Lokad on the other hand, you know, shameless plug, we charge a monthly fee, not commitment, and we basically break even after two years, and then afterwards the maintainability is basically a flat fee so the cost in terms of maintainability is basically eating the margin of Lokad. So you see, first when I positioned Lokad I decided that I wanted to make sure
that we have skin in the game, that we are paying the price of having unmaintainable software and thus that gives us, you know, massive incentive to make something maintainable just because there is no money to be made and quite the opposite, there is money to be lost for us vendor, if it's not maintainable. So that would be just the incentive, so obviously monthly subscription where you ensure that basically your vendor is losing money at the beginning, it is a very good, you know, healthy start that frame the problem so that it's going to be kind of maintainable and then you want to make sure that obviously the vendor is dealing with the maintenance of their own software, which is basically what saas -software as a service - is about. If it's unmaintainable I mean first and foremost this is the problem of the vendor, not your problem, you know, as a company
operating the supply chain software. Then there are other things like the technological mass, when I see, you know, slides, Power Points of my competitors and they show all the pieces that are in their solution, and you can see that they have 20, you know, super sophisticated, super complex sub components, they have so many tools, nowadays they would have Tensor Flow, plus Apache Spark, plus Kafka, plus MongoDB, plus React plus Redux, plus PyTorch, etc.
You have so many things, it takes like a massive slide and people say "look, we are like state of the art and we have everything and even more". This is not going to fly, I mean, this should be a red flag where when you look at those sort of things your first reaction should be "this is going to be such a nightmare to maintain", because every single one of those components is going to have its own life cycle and even if at a point of time in the past there was like an alignment of the planets where all those components by chance were working,
together, there is nothing that, you know, guarantees that it will be the case let's say three to five years down the road. Have you got any examples you could perhaps maybe share with us here? I mean, where is it that you've come across pieces of software that have been unmaintainable and what are the issues that that led to? I mean, at the symptom level you could see that when people basically gave up on and usually people say: "oh, software supply chains are run through Microsoft Excels and spreadsheets, why is that"? Well, I mean, especially in large companies it's not like they haven't purchased a supply chain system, they have. Usually during the last few decades they have even purchased like three of them, but people try to tweak the the solution has complex forecasting modules, complex replenishment modules, complex
assortment optimization modules, complex promotion management modules, I mean, all of that is part of the systems but there was like an initial implementation, it was kind of okay initially, because the vendor was actually pushing a lot of efforts and then they were trying to keep operating the system but there was a glitch and then the second glitch and the third glitch and then, you know, one year down the road there is like
over 100 glitches that are active on the system and at some point, you know, every single day that pass you have a new additional small problem that doesn't get fixed and it requires even longer, you know, workarounds to kind of cope with all those defects and so at the point of time people just give up so what do they do? They just give up on the features entirely and they fall back with the Excel spreadsheets and they say "well, I'm going to pick my battles and my only battle is going to be I need to export the data to an Excel spreadsheet and that's going to be the only feature that I want to be maintained and I surrender my hopes of making anything work but the export to the Excel spreadsheets, and then I fall back to my Excel spreadsheets and that's a story that I've seen in, I don't know, dozens of companies and it's literally, you know, the symptom of of our solution that has gone completely unmaintainable.
If we start sort of concluding today then. The core message is that all that glitters is not really gold and we should maybe be a little bit wary of those companies that have got all those flash UI interfaces because there may be issues of maintainability in the future? Yeah, I mean again, I'm not saying that having like a garbage user interface is a solution either, you know, if you're coming with a vendor where their solution looks like it's back from the 90s, well the chances are that it's so unmaintainable already that the vendor did not even manage to upgrade their UI so again there is no hard room but my advice is, you need to challenge, you know, even if it's like an internal development though so in-house software you really need to challenge people who are in charge of the development of what is your plan for maintainability, what are the key design decisions that you are making now to
ensure that your software will be maintainable and again if people don't have a very precise vision of how the design decision that they are making is shaping, you know, the future maintainability of the software, then as a rule of thumb you can assess that the software will be unmaintainable because it's a default, you know, status of products that are engineered in this industry without carefully paying attention to maintainability. It's unmaintainable by default. Okay, we'll wrap it up so that's everything for this week, thanks for tuning in and we'll see you again in the next episode. Thanks for watching!

Ask anything
We've read this whole study set, so questions about it get the best answers.