BlogR&D Capital
R&D Capital9 min read read

Why Real Innovation Requires Deleting Code

Every feature you ship carries an invisible, perpetual tax. Learn why your most profitable move this quarter might be deleting 20 percent of your codebase.

By Richard Ewing·
Share:

Why Real Innovation Requires Deleting Code: The OpEx Trap

Most product teams today operate as glorified feature factories. They measure their success by story points burned, velocity metrics, and the sheer, overwhelming volume of code pushed to the production environment. But velocity is just speed. And speed without financial direction is just a highly efficient way to burn through your operating capital.

The Unit Economics of Software

The biggest waste in enterprise software today isn't poor execution; it is successfully, flawlessly solving the absolute wrong problems. Engineering teams build impressive, highly scalable solutions in record time, yet many of these features end up unused, forgotten by the sales team, and quietly dragging down the company's Profit and Loss (P&L) statement. Let's talk about why your most profitable, high-ROI move this quarter might actually be deleting 20 percent of your existing codebase.

To understand why building new features is incredibly dangerous to your bottom line, you have to deeply understand the unit economics of software.

Every single feature you ship carries an invisible, perpetual tax. It adds to database storage requirements, increases compute load, expands the surface area for security vulnerabilities, and dramatically increases the cognitive load required to onboard new engineers. In strict financial terms, every line of code you refuse to delete increases your Cost of Goods Sold (COGS) and shifts your R&D budget from Capital Expenditures (CapEx - building new, defensible value) to Operating Expenses (OpEx - just keeping the lights on).

The Maintenance Margin and Zombie Assets

We refer to these low-usage, high-maintenance features as Zombie Assets. A Zombie Asset is a legacy reporting module or a niche integration that is utilized by less than 2% of your customer base, yet it routinely consumes 30% of your senior engineering team's capacity in pure maintenance, bug fixing, and regression testing.

Instead of cutting headcount to protect margins, conduct an Innovation Tax Audit. Scan the codebase, cross-reference it tightly with your telemetry and usage logs, and delete features that simply fund a museum of old product ideas. If a feature does not actively reduce Customer Acquisition Cost (CAC) or increase Net Revenue Retention (NRR), it is a financial liability.

Implementing the Scream Test

How do you safely deprecate features without causing a massive change-management panic? You implement the Scream Test.

In a recent AI economics audit, we identified the lowest-usage features contributing to the highest cloud infrastructure costs. Instead of formally deprecating them - which triggers endless meetings, customer communications, and sales objections - we simply toggled them off in the staging and shadow environments, and gracefully hid the UI elements in production for a subset of users.

Then, we waited for the phones to ring. They didn't.

Over a 30-day period, out of tens of thousands of active users, exactly zero support tickets were filed regarding the missing tools. The Scream Test proved what the telemetry data already suggested: the features were completely dead. By quietly sunsetting them, we permanently eliminated the maintenance burden, reduced our AWS footprint, and improved the gross margin profile of the product without a single customer complaint.

Three Questions Before You Keep Code

Before you allow a feature to remain in your repository, force your product managers to answer three questions:

  1. Is this problem actually worth solving? Does this feature tie back to a clear financial objective?
  2. Who is struggling with this daily? If you can't name the specific user persona actively paying for this solution, drop it.
  3. How will we know we have actually fixed it? Define your success metrics upfront. "User delight" is not a metric; it is a vibe. If a feature fails to hit its target metrics after 90 days, it shouldn't be iterated on indefinitely - it should be deleted.

The future of product leadership is not about generating more output. It is about business architecture. Real innovation isn't just about what you add next. It’s about what you have the courage to take away.

Like this analysis?

Get the weekly engineering economics briefing - one email, every Monday.

Subscribe Free →

Related Canonical Concepts

AI Volatility Tax

The compounding gross margin penalty incurred when variable LLM inference query costs scale faster than subscription revenue, shifting server hosting into variable Cost of Goods Sold (COGS).

Read Concept →

The Negative-Carry Code Crisis

The systemic financial risk created when high-velocity AI code generation produces massive volumes of un-audited, low-trust technical debt that inflates ongoing maintenance OpEx beyond marginal value creation.

Read Concept →

Vibe Coding Debt

The engineering debt accumulated when developers accept AI-generated code based on superficial execution ("vibes") without understanding underlying architectural assumptions or edge cases.

Read Concept →

Inference Economics

The financial discipline of managing, projecting, and optimizing the per query token costs associated with running large language models in production.

Read Concept →

Technical Insolvency

The critical threshold where the operational cost of maintaining a codebase and resolving technical debt exceeds the engineering capacity available for new feature development.

Read Concept →

The Coordination Tax

The non-linear increase in communication overhead, alignment meetings, and process friction that occurs when scaling engineering organizations, ultimately degrading per-capita execution capacity.

Read Concept →

The R&D Ponzi Scheme

The systemic masking of growing software maintenance liabilities (OpEx) behind inflated velocity metrics and new feature launches, creating a fragile engineering economy that requires constant new capital to sustain.

Read Concept →

The AI Margin Squeeze

The systemic erosion of traditional SaaS gross margins caused by the integration of generative AI features, as variable compute and API costs scale linearly or exponentially with user engagement, fundamentally altering software unit economics.

Read Concept →

The 10-Man Parity Rule

The principle that heavily AI-augmented teams of ten elite engineers can now achieve execution parity with traditional enterprise engineering organizations of over one hundred, fundamentally altering the economics of software creation.

Read Concept →

Zombie Code & The Sunset Protocol

Zombie Code refers to deprecated or unused features that continue to run in production, consuming maintenance budget, compute resources, and engineering focus. The Sunset Protocol is the structured mechanism for financial remediation through systematic deletion.

Read Concept →

DORA Metrics Financial Translation

The analytical process of converting standard engineering performance metrics (Deployment Frequency, Lead Time, MTTR, Change Failure Rate) into direct financial liabilities and capitalization impacts on the P&L statement.

Read Concept →

Canonical Frameworks

The Software Phase Transition

The Software Phase Transition models the structural breakdown of traditional product management as the marginal cost of writing software approaches zero. In the pre-AI era, developer bandwidth was scarce and expensive. Organizations operated in the Solid state: managing 2-week sprints, grooming backlogs, and writing exhaustive PRDs to ration engineering hours. As tooling improved, organizations transitioned into the Liquid state of adaptive teams with fluid prototyping. With generative AI and autonomous agent pipelines, code generation costs collapse toward zero, propelling organizations into the Gas state. In the Gas state, developer capacity is no longer the rate-limiting constraint. Unbounded code generation creates exponential organizational complexity, coordination tax, and margin collapse. This forces a fundamental leadership evolution: product leaders must transition from managing feature velocity to becoming Product Economists who govern capital, system architecture efficiency, and uncertainty.

Read Definition →

Cost of Predictivity

The Cost of Predictivity measures the variable cost of AI accuracy. Unlike traditional software with near-zero marginal costs, AI features have significant variable costs that scale with both usage AND accuracy requirements. As AI correctness increases, cost scales exponentially - not linearly. This is the fundamental economic challenge of AI products. Traditional software follows a simple cost model: high fixed development cost, near-zero marginal cost per user. Build the feature once, serve it to millions for pennies. AI products break this model entirely. Every AI query costs compute. Every inference requires GPU cycles. Every improvement in accuracy requires either more sophisticated prompts (more tokens = more cost), retrieval-augmented generation (vector DB queries + embedding generation), or fine-tuned models (massive training costs amortized over queries). The cost structure looks more like a manufacturing business than a software business. The exponential curve is the killer. Moving from 80% accuracy to 90% accuracy might cost 2x. Moving from 90% to 95% might cost 5x. Moving from 95% to 99% often costs 10-20x. This is because the easy cases are solved by the base model, and each additional percentage point of accuracy requires increasingly sophisticated (and expensive) techniques to handle edge cases. This creates what Richard Ewing calls the AI Margin Collapse Point: the usage volume at which AI feature costs exceed the revenue they generate. Many AI features that work beautifully in prototype (low volume, don't need high accuracy) become economically devastating in production (high volume, users demand high accuracy). The AI Unit Economics Benchmark (AUEB) calculator at richardewing.io/tools/aueb helps companies calculate their Cost of Predictivity and identify their specific margin collapse point before it hits their P&L.

Read Definition →
📊

Richard Ewing

The AI Economist - Quantifying engineering economics for technology leaders, PE firms, and boards.

Want to apply this to your organization?

Run a free diagnostic first. If the numbers concern you, book a session to build a remediation plan.

Richard Ewing: AI Economist & Capital Auditor