← Home
AI

Should Every Teacher Learn a Little Code?

Most teachers I know use AI in a very similar way: they open ChatGPT, type "write me a worksheet about persuasive writing," and then spend twenty minutes fixing the formatting. It's useful, but sitting here in Shanghai—where the tech ecosystem moves at the speed of an M&A deal—I've started to realise that "prompting" is only about 5% of what's actually possible.

The Broad Debate

There's a growing divide in how we talk about tech in the staffroom. On one side are the traditionalists who feel that AI-generated resources are soulless. On the other are the "tech optimists" who think that "prompting" is the new literacy. Both views feel a bit limited to me. One ignores the power of the tool, and the other treats it like a magic genie.

What the Thinkers Say

The current chatter in the "polite bubble" of education is all about "Prompt Engineering." The idea is that if you just learn the right sequence of words, the AI will give you exactly what you need. People like Rory Stewart or Alastair Campbell might look at this and see a civil service dream—standardisation and better management.

But Sitting here in Shanghai, watching how actual coders work, I’ve realised that "prompting" is brittle. As Naval Ravikant says, code is the "ultimate leverage"—but only if you build systems, not just conversations. Prompting is a conversation; coding is a machine. And in the classroom, we need machines.

My View

My view is that the real superpower for teachers isn't prompting—it's vibe coding. This is a term for describing what you want and letting the AI build the code to generate it. You aren't asking for a worksheet; you're building a system that can produce thirty booklets in ten minutes. It’s moving from being a "writer of content" to a "builder of systems." It’s an act of truth: being honest about your own capacity and using leverage to multiply your impact.

Why "Systems" are Better than "Prompts"

Total Consistency

When I use an AI coding tool to write a Python script for my resources, every single worksheet follows the exact same style. I don’t have to worry about font sizes. The "coder" handles the formatting, so I just have to focus on the truth of the curriculum.

Data-Driven Differentiation

Because I'm using code, I can feed in a spreadsheet of my students' last test results. The script can then generate different versions of the same booklet—one for the kids who struggled, and one for those who need a challenge. Like a partner at a law firm managing a complex closing, I'm using "Realpolitik" to ensure everyone gets exactly what they need. Doing this manually would take a weekend; with a script, it takes an afternoon.

What Happens Next?

If you want to move beyond the chat box, you don't actually need to learn how to code. You just need to change how you talk to the AI:

  1. Don't ask for a worksheet: Ask the AI to "Write a Python script that turns this list of vocab into a PDF booklet with an answer key."
  2. Use Markdown: Keep your ideas in simple text files. It's the language of honesty—no hidden formatting, just clarity.
  3. Build an Archive: Once you have a script that works, you have it for life. Next year, you just run it again.

For teachers: Don't be intimidated by the word "coding." If you can describe what you want, you can build it. We have the chance to move from being under-resourced managers to being architects of our own curriculum. Why wouldn't we take it?

Share: Twitter LinkedIn Email