DEV Community

Cover image for Your Legacy Isn't Just Code: The Real Blocker for AI Assisted Software Engineering
Léo Antunes
Léo Antunes

Posted on Edited on

Your Legacy Isn't Just Code: The Real Blocker for AI Assisted Software Engineering

TL;DR

  • Big companies struggled to leave desktop technologies, move to the cloud and adopt DevOps in the past. AI-assisted software engineering is facing the same issues.
  • Installing Claude Code or Codex is easy. The hard part is the legacy of code, process and organizational culture around it.
  • I expect consultancies to offer a lot of "AI transformation", and some companies to fall behind in the near future.

What I saw in a decade of tech

I have worked in tech for more than ten years, and I have seen a few big shifts. Many of the companies I worked with still ran a lot of desktop legacy, built in technologies like Delphi and Visual Basic. My first job was as a support analyst for an application written in Delphi.

In 2016, many of these companies were trying to modernize. It was common to see systems running in parallel, and replacements that never really replaced anything. There was a big push to build new web apps with mobile clients. These new apps already beat the old, complex desktop setups. At the same time, I watched cloud computing grow, on-premise workloads move to the cloud, and DevOps become mainstream.

The bigger the company, the harder the change

More history, more teams, more people, more structure. The harder it is to adopt changes.

In my experience, it is like the organization itself, its deep-rooted culture, came alive. Processes and practices stopped serving customers, the company and employees. They started to exist for their own sake. The people who wanted to modernize, sometimes including leaders and engaged ICs, were often blocked, or their efforts had little effect.

Now it is AI agents

I feel we are living through something similar right now at a entire industry level with coding agents. The same forces that slowed down the move from desktop to web, from on-premise to cloud, and from manual deploys to DevOps are back. Adopting these practices in software built before the AI era is still hard.

Installing the tool is the easy part

Installing an agent like Codex or Claude Code is very easy. You can add a skill here and there, and write context files like AGENTS.md. The real challenge is the structure you have to work inside. It is not only the legacy of the codebase. It is the legacy of processes.

Picture a platform with many customers and years of code. It has no tooling for the other stages of the development cycle. There is no advanced release strategy, like canary releases for example. Verification goes no further than a unit/integration tests pipeline. When this pre-AI legacy of code, process and culture meets something new, it behaves like a strong immune system fighting a virus that must be eliminated.
There's a lot of challenges with AI assited software engineering. Slop is real. But today I would like to talk about the good parts and why may loosing it.

Why does this happen?

I see two main reasons.

1. How we are measured. It comes down to how we are managed, evaluated and perceived. Product priorities are always about the next development cycle, and the business always has urgent needs. That leaves little time for a bigger transformation, which takes a lot of time. This is why such changes in large organizations usually need strong commitment from leadership, and often people from outside are brought into the team.

It is also why many consultancies built successful businesses around ready-made modernization projects: "We will migrate you to the cloud.", "We will migrate you to DevOps", etc.

This is not about the people inside the company lacking skill. The point is different. The consultant hired for the migration is evaluated on the migration. The engineer working on the product is evaluated on shipping features, keeping things running and keeping existing customers happy. These are different jobs: one is about process and structure, the other is about building the product.

2. No history means an easier culture. Defining a culture is much easier when there is no history. There are no contradictions from decisions made over the years, no accumulated legacy, no customers who must stay happy, and no systems running the daily operations of many people and companies right now. It is the old greenfield versus brownfield, applied to culture. Swapping parts on a parked car is much easier than swapping them on a moving one.

Can it change?

Yes, but it is hard. These two forces together make cultural change very difficult. It is not impossible, though. It can work when you have strong commitment from leadership, engaged individual contributors who want to drive the change, and real space in the roadmap. Then you may be able to move step by step toward a new way of working.

The gradual approach looks like the Strangler Fig pattern by Martin Fowler: instead of replacing everything at once, the new slowly takes the place of the old. Here it applies to the process, not only to the code. The upside is that it is realistic. The downside is that it takes longer, and that gives outside pressure a bigger window to deprioritize the improvements.

Companies that started recently tend to have a very different culture from the ones that existed before AI. I see this clearly at events about AI Engineering. The crowd is much younger than at other tech events.
Legacy often feels stuck in time, and everything is harder, AI software engineering practices included.

My predictions

Let me play futurist for a moment. (It will be awesome to read this article again in a few years).

First, I believe consultancies will offer a lot of services and products to help companies get ready for the AI era, for AI-based software engineering. It may already be happening. Giant organizations may struggle to capture all the supposed benefits on their own. It happened in every example above, and I do not see why it would not happen now.

Second, I think some companies will fall behind. The more real the gain from AI, the easier it is for a company that starts from zero to chase a competitive advantage or build a better product than the existing one. This is the innovator's dilemma: established companies optimize for the customers they already have, and newcomers without legacy overtake them. As in the other transformations, some players will lose the race.

Conclusion

AI agents are new, but the problem is old. The tool is the easy part. What slows us down is the legacy around the tool: the code, the release process, the way we verify software, and the culture that grew around all of it.

From what I have seen, change is possible when three things come together: committed leadership, engaged ICs, and room in the roadmap. Small steps help, but they only survive if someone protects them from the next urgent request.

If you want the benefits of AI-assisted development, do not only ask which agent or which skill to use. Ask what in your process would let you trust its output at that speed.

Your turn

I would love to hear your experience. Have you seen this in your company? What blocked you most: the code, the process or the culture? And which past shift looks most like what is happening with AI right now: Web/Mobile, cloud, DevOps or other?

Share it in the comments.

Top comments (0)