Engineering value in the age of cheap code

5 min read

We are entering a new era of software development where writing code has become incredibly cheap. We can generate entire features, refactor large parts of a codebase, or create tests in minutes. Things that previously required hours of implementation.

But does that mean building software has become easier?

I don't think so. At least, not in every aspect.

The challenge is no longer how much code we can produce, but how much of that code we can trust and turn into customer value.

More code doesn't mean more value.

AI makes it easy to feel productive. An agent can create hundreds of lines of code, introduce abstractions, and refactor components in a matter of minutes.

But was all that code necessary?

Did we solve the customer's problem, or did we simply generate more software?

Customers don't care about the number of pull requests we merge. They care about whether our products solve their problems.

This has added a great opportunity for us to go deeper than before into problems, rather than expand horizontally and try to cover more aspects that might be meaningless.

We risk confusing code output with actual progress.

Reducing the slop

I recently watched a conversation with Lauren Tan about how engineering responsibilities are changing with AI.

One idea that resonated with me was the importance of reducing slop while improving productivity and quality.

Agents use the context we give them. If our repositories contain outdated patterns, unnecessary abstractions, or poorly structured code, those examples can influence their next implementation.

Bad code becomes inspiration for more bad code. And because generating code is now faster, technical debt can grow faster too.

We should invest more in the foundations:

  • Remove outdated patterns and document the preferred way of solving recurring problems.

  • Create guardrails through lint rules, architectural boundaries, and tests that prevent known anti-patterns.

  • Use progressive disclosure, allowing agents to discover relevant instructions instead of loading the entire repository into context.

A simple example involves React's useEffect. Some teams discourage agents from using it by default because of how frequently it's misused.

It's not about banning a useful API. It's about preventing agents from repeating mistakes we already know how to avoid.

Good engineering is increasingly about making the wrong thing harder to generate.

Give agents business context, not just code instructions

Agents are getting better at reading static code, so they don't need humans explaining how to code.

This is probably the most important part.

We spend considerable time documenting technical standards for agents. We explain component structures, libraries, testing conventions, and architectural decisions.

But how often do we explain why we're building something?

Imagine asking an agent to improve an onboarding flow.

Without business context, it might reorganize components, introduce abstractions, and produce an impressive implementation.

But what if the real problem is that customers abandon registration because we're asking for too much information?

The best solution might be removing a few fields instead of adding more code.

An agent should understand three things before implementation:

  • The customer problem: What friction are we trying to remove?

  • The expected outcome: Are we improving conversion, retention, reliability, or something else?

  • The constraints: What should remain unchanged, and what complexity is acceptable?

This context should remain visible throughout implementation and review, not disappear after the initial prompt.

A technically correct implementation can still be a product failure.

Validation should go beyond passing tests

Another takeaway from Lauren's conversation was the importance of validation.

Especially in frontend development, a component can pass every test and still look or behave differently from what users expect.

I've seen workflows using Playwright MCP integrations where agents open browsers, interact with applications, capture screenshots, and attach evidence to pull requests.

This creates a much better feedback loop. Agents can inspect their implementations and correct issues before humans get involved.

But validation shouldn't stop at technical correctness. If we're improving onboarding, did we actually reduce friction? If we're optimizing performance, did customers notice the improvement?

Some outcomes require real customer data, but the intended result should be clear from the beginning.

We should validate what we delivered, not just whether the code works.

The hidden cost of AI-generated code

There's another part of the conversation we often overlook: cost.

I sometimes see tokenmaxxing, where maximizing token consumption almost becomes a sign of productivity.

I'm not convinced. Choosing the right model, reasoning effort, context, and task scope are becoming engineering skills.

And tokens aren't the only cost. Imagine generating a pull request in five minutes that takes another engineer two hours to understand and review.

Have we improved productivity, or simply moved the bottleneck?

The real cost includes AI spending, review effort, unnecessary iterations, bugs, and maintenance.

Productivity isn't how much code we generate. It's how efficiently we deliver reliable software that creates value.

Engineering is becoming more important

I don't think AI reduces the importance of software engineering. I think it exposes it.

Architecture, maintainability, testing, and good technical decisions aren't going away.

When code was slower to produce, waste was naturally constrained. Now we can generate problems just as quickly as solutions.

Our responsibility is increasingly about creating the environment where reliable code can be generated, validated, and connected to real business outcomes.

The teams that benefit most from AI won't necessarily be the ones writing the most code.

They'll be the ones that know what is worth building, make it easier to build correctly, and can prove that what they shipped made a difference.

Writing code is cheap. Engineering judgment isn't.

Get posts in your inbox

Subscribe to my Substack newsletter for the latest posts and updates.

Subscribe on Substack

Written by Manu

I am a product-driven JavaScript developer, passionate about sharing experiences in the IT world, from a human-centric perspective.

Follow Me

Other articles

View all articles