I am sure there is some equation we could come up to describe the amount of ideology and / or dogma present alongside each bit and byte of code.
Something that exponentially increases with each additional line of code or MB on disk. An example of this in action, in the wilds of the API space, is the difference between an SDK for an API, and just a single sample API call.
The single API sample is the minimum viable artifact that enables you to get value from an API — allowing you to make a single API request and receive a single API response. Very little ideology, or dogma present (its there, but just smaller quantities). Now, if an API provider provides you with a Laravel SDK in PHP, or a JAX-RS SDK in Java, and React.js SDK, I’m significantly cranking up the volume on ideology and dogma involved with this code. All contributing what type of technical debt I’m willing to assume along the way, with each of one my API integrations, and wider technological solutions.
I work hard to never hold up any single technology as an absolute solution, as there are none, but I can see a potential for the latest wave of “serverless” approaches to delivering code potentially helping us unwind some of our technical debt.
Like most other areas of technology, simply choosing to go “serverless” will not provide you the relief you need, but if you are willing to do the hard work to decouple your existing code, and apply the philosophy consistently to future projects, the chances “serverless” might pay dividends in the reduction of your technical debt will increase greatly.