Lesson 1 of 10 · Own the code AI writes
Is learning to code still worth it with AI?
Learning to code is still worth it with AI, but the part worth learning has changed. Knowing whether the code is right is the skill that's left.
I think a generation of developers is on its way who won't be able to read the code they ship. Not because they're lazy. Because they never had to. An AI tool will write you a working login page in less time than it takes to make a cup of tea: the form, the database table behind it and the email that goes out afterwards. The code runs. The page looks finished.
That used to be the hard part. It isn't any more. As I put it in a piece on a language built to make AI prove its work: writing code is no longer the expensive part. Knowing whether the code is right is.
So is learning to code still worth it? Yes. But the part worth learning has moved, and this course is about the part that's left.
What is vibe coding?
Collins made "vibe coding" its word of the year for 2025, and defines it as "the use of artificial intelligence prompted by natural language to write computer code". You describe what you want, the AI writes it, and if it looks right you keep going.
I've nothing against it. It's how a lot of good ideas get their first version. The trouble starts when that first version gets real customers, real payments and real data, and nobody involved can say what the code does.
What "almost right" looks like
In Stack Overflow's 2025 survey of developers, 84% said they use AI tools or plan to. More of them distrust the accuracy of what those tools produce (46%) than trust it (33%). And the frustration they named most, picked by 66%, was "AI solutions that are almost right, but not quite". (The survey's AI results.)
Those are people who read code for a living, and they're the ones who notice. If you can't read it, almost right looks exactly like right.
Almost right comes in a few familiar shapes:
- A form that saves whatever it's sent, and never checks who sent it
- A page that shows a customer their orders, and would show anyone's orders if the address were changed by hand
- A price worked out in the visitor's browser, where the visitor can change it
- An error caught and quietly ignored, so the app keeps "working" while orders go missing
- A function that existed in an older version of a library and doesn't in the one you've installed
None of these shows up when you click through the app and it does what you expected. Each one shows up later, usually when a customer finds it first. Lesson 5 takes them one at a time.
Can you read code without learning to write it?
You don't have to be able to write something from a blank page to read it well. Most people who check a contract couldn't draft one from scratch, and they still spot the clause that shouldn't be there.
Reading code comes down to four things, and the lessons take them in turn:
- Knowing where things are: which file a page comes from, where the data goes
- Knowing what a piece of code does, line by line, in plain English
- Knowing what it assumes: who's logged in, what the input looks like, what's allowed
- Knowing what happens when something goes wrong
AI is good help with all four, as long as you check what it tells you. Lesson 4 is about exactly that.
What this course isn't
It doesn't teach a programming language from zero. Free courses do that well, and if you've never opened a code editor, one of them alongside this course will help: freeCodeCamp, The Odin Project or Harvard's CS50.
It also doesn't ask you to stop using AI. I build with AI every day, and tools like Claude Code do a lot of the typing on my projects. The point is to stay the person who knows what the code does.
How each lesson works
The lessons use the kind of code Claude Code, Cursor, Lovable, Bolt and v0 write: mostly JavaScript and TypeScript, React, and Next.js. What they teach works with any tool.
Every lesson ends with two things, and you can do either or both:
- What to check is a list to work through on something you've built. It's for you if you have an app or a site an AI made and you want to know where you stand.
- Try it is an exercise. It's for you if you're learning the trade and want the skill to stick. Do it before you ask the AI for the answer.
If you built something with AI
What to check
- Name every outside service your app sends data to: the database, payments, email, analytics. Write them down.
- Find out where your code lives. If the only copy is inside the AI tool's website, get a copy of your own (lesson 8 shows how to keep it safe with Git).
- Ask yourself: if the AI tool closed tomorrow, could anyone change your app? If not, that's the gap this course is for.
- Write down the three things your app must never get wrong. For example: take a payment twice, show one customer another customer's details, lose an order. The rest of the course keeps coming back to these three.
If you're learning the trade
Try it
Ask an AI tool for a small function, for example "a function that checks whether an email address is valid", or take a short piece of code it wrote for you before.
- Before you run it, write down in plain English what you think each line does. Guess where you don't know.
- Ask the AI to explain the code line by line, and compare its answer with yours.
- Ask it: "What inputs would make this go wrong?" Pick one of its answers and try it.
Where your reading and the AI's explanation disagreed, find out which was right. That habit, checking instead of trusting, is the whole course in one exercise.