AI & TOOLS

How AI Is Changing Software Development: Real Benefits, Real Limits

AI tools haven't removed the hard parts of software development. They've moved them. A practical look at where AI helps, where it quietly fails, and how teams are adjusting.

Mohamed Isak7 min read

Illustration of a terminal prompt and response lines on a near-black background with the title How AI Is Changing Software Development
On this page
  1. The effort has moved, not disappeared
  2. Where AI tools are genuinely good
  3. Where they fall short, quietly
  4. How day-to-day workflows are changing
  5. The risks a team needs to manage
  6. Measuring whether it's actually helping
  7. A sensible starting policy for a small team
  8. What doesn't change
  9. Further reading

The demos are impressive. Describe a feature, and a model writes the component, the API route and the tests in a minute. Day-to-day reality is more mixed, and more interesting.

The biggest change AI has brought to software development isn't that code gets typed faster. It's that the effort has moved. Less time goes into producing code, and more goes into describing what you want precisely and checking that what you got is right. Teams that understand that shift get real value from AI tools. Teams that don't tend to ship more code and more bugs at the same time.

This article looks at what's actually changing: where AI coding tools help, where they fail in ways that are easy to miss, and what a sensible approach looks like for a small team.

The effort has moved, not disappeared

Writing software has always been a loop: understand the problem, write something, check it, fit it into the rest of the system. AI tools compress one step of that loop dramatically and leave the others roughly where they were.

Diagram of a four-step loop: specify, generate, verify, integrate. Generate is now fast and cheap; specify and verify have become the bottleneck
Generation got cheap. Specifying and verifying are now where the time goes

When generation is nearly free, two things become the bottleneck:

  • Specifying. A vague request produces plausible code that solves a slightly different problem. Being precise about inputs, edge cases and constraints matters more than it used to.
  • Verifying. Someone still has to establish that the code is correct, secure and maintainable. Reading code you didn't write is slower than writing code you understand, and it takes discipline to do it properly every time.

This is why "AI writes the code, developers review it" can be either a big productivity gain or a slow accumulation of problems, depending on how seriously the verification step is taken.

Where AI tools are genuinely good

In practice, AI assistance pays off most reliably on work that's well understood but tedious, or unfamiliar but well documented:

  • Boilerplate and glue code. Form validation, API clients, data mapping, configuration files. The patterns are common and the cost of a mistake is visible quickly.
  • Getting oriented in unfamiliar territory. Explaining what a confusing function does, summarising how a module fits together, or translating an obscure error message into a likely cause.
  • Mechanical refactors. Renaming across files, converting callbacks to async functions, migrating from one API version to another, when the transformation is clear and tests exist.
  • Test scaffolding. Drafting test cases, especially for edge cases a developer might not bother to write by hand. A person still needs to check that the tests assert the right thing.
  • First drafts of documentation. READMEs, docstrings and migration notes are easier to edit than to start.
  • Translating between representations. SQL to an ORM query, a regular expression into plain English, a curl command into a fetch call.

The common thread: the developer can tell quickly whether the output is right.

Where they fall short, quietly

The failures that matter aren't the obvious ones. Code that doesn't compile gets caught immediately. The expensive failures are plausible code that's subtly wrong.

Confident, plausible and wrong

Language models produce text that looks like correct code. Usually it is. When it isn't, it looks exactly as confident. Here's the kind of code that passes a quick review:

js
// Looks fine: authenticated route, fetches an order, returns it
app.get('/api/orders/:id', requireLogin, async (req, res) => {
  const order = await db.orders.findById(req.params.id);
  if (!order) return res.status(404).end();
  res.json(order);
});

Any logged-in user can read any order by changing the ID in the URL. The route checks that someone is logged in, but not that the order belongs to them. It's a textbook insecure direct object reference, and it's exactly the kind of business rule a model can't know unless you tell it.

js
app.get('/api/orders/:id', requireLogin, async (req, res) => {
  const order = await db.orders.findOne({ id: req.params.id, customerId: req.user.id });
  if (!order) return res.status(404).end(); // same response whether missing or not yours
  res.json(order);
});

Missing context

Models know common patterns, not your system. They don't know that prices are stored in minor units, that a particular table is append-only, that a customer can belong to two organisations, or that a function is called from a cron job at 3am. Unless that context is written down and provided, the model fills the gaps with whatever is most typical, which is often wrong for your codebase.

Outdated or invented APIs

Models are trained on a snapshot of the world. They may suggest deprecated functions, old configuration formats or library APIs that changed two major versions ago. Occasionally they invent functions or packages that never existed.

Invented package names are a real security problem, not just an annoyance. If a tool suggests installing a package that doesn't exist, an attacker can register that name and wait. Check that any new dependency is the package you think it is, from the publisher you expect, before you install it.

Tools that take actions

AI agents that can run commands, edit files and call APIs shorten the feedback loop considerably: the tool can run the tests itself and fix what fails. They also widen what can go wrong. An agent reading a malicious issue comment or a poisoned README can be steered by instructions hidden in that text, a problem known as prompt injection. The OWASP Top 10 for Large Language Model Applications lists prompt injection and "excessive agency" among the main risks for exactly this reason.

The practical response is ordinary security hygiene applied to a new kind of tool: least privilege, sandboxes for untrusted work, and human approval for anything destructive or outward-facing.

How day-to-day workflows are changing

Across teams using these tools seriously, a few patterns keep showing up.

Specifications and tests become the interface. Developers write a precise description of the change, including edge cases, and often the tests first. The tests then act as an objective check on generated code, which is far more reliable than reading it and nodding.

Smaller changes. Generated diffs can get large very quickly. Teams that keep pull requests small keep review meaningful. A 2,000-line generated change rarely gets reviewed properly by anyone.

Review is the core skill. Reading code critically, asking what happens on failure, and noticing what's missing (an authorisation check, a timeout, an index) matter more than typing speed. This is also where junior developers need the most deliberate support.

Context is written down. Conventions, architecture notes and "things that will bite you" move out of people's heads and into files the tools can read. This turns out to help new human team members just as much.

Code archaeology gets easier. Asking a tool to explain an unfamiliar part of the codebase, trace where a value comes from or summarise a long history of changes is one of the least risky, most useful applications.

The risks a team needs to manage

AI-assisted development introduces some risks that are new and makes some old ones larger:

  • Maintainability. More code, produced faster, is more code to maintain. Duplication creeps in when generating a new helper is easier than finding the existing one.
  • Security. Missing authorisation checks, unsafe input handling and weak defaults are easy to miss in generated code. Treat generated code with the same suspicion as code from a new contributor.
  • Supply chain. Verify new dependencies, keep lockfiles committed and review dependency changes in pull requests.
  • Data handling. Know what code and data your tools send to a provider, and what the provider's terms say about retention and training. Keep secrets and customer data out of prompts.
  • Over-trust. The more often a tool is right, the less carefully people check it. That's precisely when the subtle mistakes get through.

For a broader framework on managing AI risk in an organisation, the NIST AI Risk Management Framework is a sensible, vendor-neutral starting point.

Measuring whether it's actually helping

"Lines of code written" is a poor measure of productivity at the best of times, and AI makes it meaningless. Look at outcomes instead:

  • Lead time for changes: how long from starting work to running in production?
  • Change failure rate: what share of deployments cause an incident or need a fix?
  • Review time and rework: are pull requests getting through review faster, or bouncing back more often?
  • Escaped defects: are more bugs reaching customers?

These are close to the delivery metrics popularised by the DORA research programme, and they have the advantage of measuring what the business cares about. If AI tools make lead time shorter but change failure rate higher, that's a real trade-off to discuss, not a win.

A sensible starting policy for a small team

You don't need a fifty-page AI policy. A short, explicit agreement covers most of it:

  1. The developer who opens a pull request owns every line in it, however it was produced.
  2. Generated code is reviewed to the same standard as human code. "The AI wrote it" is not an explanation.
  3. New dependencies are checked by a person before they're added.
  4. No secrets, credentials or customer data go into prompts.
  5. Agents that run commands do so with limited permissions, and anything destructive needs human approval.
  6. Project conventions live in the repository, where both people and tools can read them.
  7. We check the delivery metrics every few months and adjust.

What doesn't change

Understanding the problem is still the job. So is deciding what not to build, choosing which trade-offs are acceptable, and being accountable when something breaks in production. AI tools are very good at producing answers. Deciding which questions matter, and whether an answer is right for this system and these users, is still work for people.

If you'd like a more hands-on view, our guide to using Claude in your development workflow covers practical prompts and workflows for coding, debugging, documentation and code review. And because AI makes it easier to produce a lot of code quickly, the principles in building scalable, maintainable web applications matter more, not less.

Further reading

  • AI
  • Developer productivity
  • Code review
  • Security

Share

XLinkedInEmail
Back to all articles