The last generation of senior developers

AI makes code cheap. Judgment still takes experience. I’m worried about how the next generation of developers will get that experience.

Article AI Career 12 min read 28 views 3 likes 0 dislikes

I’ve been working with AI and machine learning since around 2018, originally with prediction systems and medical diagnosis. Then came the transformer era, followed by GitHub Copilot’s technical preview in 2021. I’ve basically had the chance to experience every stage of AI-assisted development, from glorified autocomplete to agents that can now take a feature and work on it for hours.

Over the last couple of years, one thing has started bothering me more and more:

I think my generation might be the last generation of senior developers.

Not the last people who will ever have “Senior Software Engineer” in their LinkedIn title. I’m sure we’ll keep those forever.

I mean the last generation of developers who were forced to become senior before AI could write most of their code for them.

And I think that’s going to create a very weird problem.

I see experienced developers struggling with AI because they don’t trust it enough. They don’t want to embrace the ridiculous speed it can give them.

Then I see newer developers making almost the opposite mistake: they trust it because they assume it’s better than they are.

And every year, they’re becoming a little more correct.

That’s the scary part.

Because experience is also the main tool we currently have for figuring out when AI is wrong.

The problem isn’t really whether AI can write code anymore. It obviously can.

The problem is judgment.

AI can know more than you and still be wrong

I don’t think senior developers are valuable because we somehow know more about programming than an LLM.

We don’t.

There is no realistic way I’m going to memorize every library, algorithm, RFC, database implementation detail, language feature, obscure Unix command, browser API, or framework convention that a modern model has seen.

That’s not the advantage.

The advantage is that I’ve spent years watching software fail.

I’ve seen the innocent-looking abstraction that becomes impossible to remove three years later. I’ve seen the generic solution that was supposed to support every possible future use case and ended up making the one actual use case miserable.

I’ve seen race conditions, migrations that looked harmless, callbacks that created invisible behavior, systems that worked perfectly until there was real traffic, and “temporary” architecture that became permanent.

AI has seen an enormous amount of code too, but that code is a mixture of excellent code, mediocre code, outdated code, Stack Overflow answers, experiments, tutorials, abandoned libraries, and every other level of software humans have produced.

So when I say AI sometimes writes shady code, I don’t mean that it literally learned exclusively from garbage.

I mean that it has learned from us.

And we write a lot of garbage.

The models keep getting better at selecting useful patterns from that mess, but they still have a tendency I see constantly: they’ll either choose the naive solution or go completely in the opposite direction and invent an incredibly generic architecture for a problem that absolutely doesn’t need one.

Tell an agent, “optimize this as much as possible,” without enough constraints, and you might come back to find it halfway to redesigning the operating system.

That’s where experience matters.

Not because I can necessarily invent a better solution than the model from scratch, but because I can recognize when it’s disappearing down a rabbit hole before we spend three days following it.

Reviewing AI-generated developers

Something else has started happening to me that I find much more frustrating.

I’ll review code written by another developer who used AI heavily, and after a couple of rounds, I start feeling like I’m not really working with that developer anymore.

I’m working with Claude or Codex through a human proxy.

I review the implementation.

I find architectural problems.

I explain them.

They send those comments back to the AI.

The AI rewrites it.

I review it again.

Eventually, I realize it would have been dramatically faster for me to just talk to the agent myself.

That’s not really collaboration.

And that’s a difficult problem because I don’t want to work alone. I want to work with good developers.

But if I’m the one providing the architecture, identifying the mistakes, deciding what should change, explaining why it should change, and validating the next implementation, while somebody else is mostly forwarding those instructions to an LLM, what exactly is the human layer adding?

That sounds harsh, but I think we’re going to have to talk about it.

At some point, the value of a developer can no longer be measured by their ability to produce code.

Code is becoming cheap.

Judgment isn’t.

We grew up while everything was breaking

I originally thought of this as a Millennial thing, although I don’t think the exact generational label really matters.

I’m talking about people who grew up during the transition.

We watched:

  • the internet arrive
  • home computers become dramatically more powerful
  • graphics and CGI improve every few years
  • dial-up turn into broadband
  • broadband turn into fiber
  • international communication go from expensive and inconvenient to effectively instantaneous
  • the internet move from the computer room into our pockets
  • cloud infrastructure become normal
  • software become continuously updated
  • going offline become unusual

We didn’t grow up with the final versions of these technologies.

We watched them fail.

That distinction matters.

Early adopters learn skepticism almost automatically because early products suck.

You install the beta because it’s exciting, but you keep the old version because you know the beta might destroy everything.

You try the new framework because it’s interesting, while also wondering whether it will still exist in three years.

You upgrade something and expect at least one stupid thing to break.

AI feels the same to me.

It’s insanely useful. I use it constantly. I’m probably more aggressive about using it than most developers I know.

But I don’t trust it.

Those aren’t contradictory positions.

You can use something constantly while understanding that it’s unreliable.

I’m more worried about what happens when people grow up without that second part.

For somebody learning software development today, AI isn’t some strange new tool they have to cautiously adopt.

It’s just there.

Why spend two hours figuring something out if the machine can explain it instantly?

Why spend three days implementing something if the machine can write it in 20 minutes?

Those are completely rational questions.

The problem is that those painful hours were also how we developed judgment.

The apprenticeship problem

This is what I think people underestimate when they talk about AI replacing junior developers.

Maybe it can.

But senior developers don’t appear spontaneously.

Junior developers turn into senior developers.

And historically, they did that by making a ridiculous number of mistakes.

They implemented the wrong abstraction.

They wrote terrible SQL.

They broke production.

They debugged something for six hours and discovered that the entire problem was one line of configuration.

They built a system badly, suffered because of it, and then understood why the better architecture existed.

That’s how a lot of engineering intuition gets installed in your brain.

Now imagine skipping most of that.

A junior developer asks AI to build something genuinely complicated. The AI writes 2,000 lines of code. It works.

Great.

Six months later, something goes wrong somewhere inside those 2,000 lines.

What mental model does that developer have for navigating it?

Maybe the AI solves that problem too.

And maybe that works forever.

But that’s a pretty significant bet we’re making.

We’re assuming AI will improve quickly enough that developers will never need the skills we’re allowing them to skip.

Maybe it will.

I’m not completely convinced.

This isn’t really about programming

I see the same thing happening outside software.

People ask AI how to talk to other people.

They use it as a therapist.

They ask it what decisions they should make.

They ask it how they should interpret conversations, relationships, careers, arguments, and their own behavior.

Everyone spent years imagining that AI taking over humanity would look like Terminator.

I think The Matrix is actually a more interesting analogy.

Not because machines are going to physically plug us into pods, but because we might voluntarily construct a layer between ourselves and reality, then become increasingly dependent on that layer to interpret reality for us.

Nobody has to conquer us.

We might just delegate.

And software engineering is one of the first places where we’re getting a serious preview of that problem.

The fundamental skill becomes deciding:

What should I delegate to AI, and what do I still need to understand myself?

AI should be an extension of you

The way I work with AI has changed a lot because of this.

I don’t usually start with:

Build this feature.

I’ll start with:

All right, let’s plan this. Here’s the basic idea. Expand it.

Then we argue about it.

We iterate.

I decide what I like and what I don’t.

We figure out:

  • the directory structure
  • the data model
  • the algorithms
  • the boundaries between components
  • what should be reusable
  • what deliberately should not be reusable
  • migrations
  • failure cases
  • testing
  • rollout
  • what existing code should be touched
  • what existing code absolutely should not be touched

By the time I tell the AI to start implementing, I already know roughly what the feature is going to look like.

In some sense, I’ve already written it.

The syntax just doesn’t exist yet.

That’s where I think AI becomes incredibly powerful.

It isn’t replacing my thinking. It’s turning my thinking into software much faster.

AI should be an extension of you, not something that does the thinking for you.

That distinction sounds philosophical, but in practice, it’s extremely concrete.

Give the agent freedom, but make the problem small

My workflow has changed here too.

I used to really like environments where I had to approve almost every action the AI wanted to take.

Eventually, I moved more toward Codex and a much more agentic workflow. Part of that was cost, and part of it was simply productivity.

I’ve become comfortable giving the agent significantly more freedom.

But there’s an important catch:

I give it freedom inside small problems.

I don’t throw an enormous feature at an agent and disappear.

I’ll give it a clearly defined chunk, let it work, review the result, and then continue.

That gives me manageable pieces of code.

If it starts going in the wrong direction, I can kill the approach before it infects the rest of the architecture.

Because one of the worst patterns I’ve seen with coding agents is giving them an enormous, vague task and letting them repeatedly modify the codebase until all the tests finally turn green.

Yes, technically, it completed the task.

It also changed 47 unrelated things, introduced three abstractions nobody asked for, broke something that won’t be discovered until next month, and added a utility called UniversalServiceManager.

Congratulations.

This isn’t necessarily an AI problem.

It’s a planning problem.

AI just lets bad planning produce bad code at unprecedented speed.

The code should still look like mine

A lot of my job these days seems to involve arriving in existing codebases and fixing things.

And when I’m working with AI, one of my main goals is to create structural rules that keep guiding it toward the kind of code I want.

Reusable patterns.

Clear boundaries.

Examples.

Tests.

Conventions.

Local instructions.

Architecture that makes the correct implementation easier than the incorrect one.

I want to be able to look at something an agent produced and think:

Yeah, I would have written this five years ago.

Maybe faster now.

Maybe with better knowledge of some obscure API.

Maybe with fewer stupid syntax mistakes.

But it should still feel like my code.

And here’s the uncomfortable part:

The only reason I know what “my code” feels like is because I spent years writing it myself.

That’s the experience new developers are in danger of skipping.

So where do the next senior developers come from?

That’s the question I don’t know how to answer.

I see developers jumping straight into incredibly complex tasks with AI without actually understanding how those systems work.

They can build them.

That’s impressive.

But building something and understanding it are becoming two increasingly separate skills.

Maybe that won’t matter.

Maybe AI gets good enough that the abstraction never leaks again.

Maybe future developers won’t need to understand the lower layers any more than I need to understand the exact machine instructions generated by Ruby.

Every generation of computing has moved upward in abstraction.

Maybe this is simply the next layer.

But I think there’s an important difference.

Previous abstractions generally hid implementation details.

AI can hide reasoning.

That’s a much bigger jump.

And then there’s AGI

I don’t personally think transformers and LLMs, at least in their current form, will simply scale naturally until one day we wake up with AGI.

Maybe I’m wrong.

I think it’s more likely that these systems become unbelievably good at emulating something that looks like general intelligence, or that they eventually become powerful enough to help us discover whatever architecture actually gets us there.

If you force me to put a number on it, maybe it’s 10 years.

Maybe it’s 100.

I lean much closer to the second one, which is basically another way of admitting that nobody knows.

I would love to see real AGI in my lifetime.

I’m not convinced I will.

And the weird thing is that it might not matter very much.

Whatever we build before AGI may behave enough like AGI that, from the perspective of most people, the distinction becomes academic.

But as long as there is a distinction, I think we should be extremely careful about handing these systems the parts of our lives that require judgment.

Not because they’re evil.

Not because Skynet is going to become self-aware.

Not because a robot is going to kick down your door.

The more realistic danger might be much more boring:

We become so comfortable delegating our decisions that eventually we forget how to make them.

Use AI.

Use the hell out of it.

Let it make you absurdly productive.

Let it write the boring code. Let it search things you don’t remember. Let it challenge your architecture. Let it implement the plan. Let it find things you missed.

But learn how to disagree with it.

Learn when to stop it.

Learn when the abstraction is stupid.

Learn when the answer technically works but is still wrong.

Learn enough that the code it writes still feels like yours.

Because if we lose that ability, then maybe I really am part of the last generation of senior developers.

Was this useful?