What schools should teach when AI can write code

What should a coding class teach when a large language model can produce a working function in seconds?

The easy answer is 'prompt engineering'. The harder answer is that the old bargain of coding education—teach syntax, hope it lasts—is broken. A recent Chinese roundtable on matching university programs to industry demand is a useful place to think about this, even though it is not about coding specifically. It is about what happens when the half-life of a technical curriculum gets shorter.

The roundtable, published in late 2026, gathered researchers from Chinese education and labor institutes. The supply-side numbers are striking. During the 14th Five-Year Plan period, Chinese universities added 10,200 undergraduate program points and cut or suspended 12,200, a cumulative adjustment of more than 30%. The 2026 catalog adds 38 new majors, including energy science, deep-earth science, agricultural robotics, biomanufacturing, brain-computer science, digital tourism, business AI, digital trade and digital finance. The adjustment rate is above 10%.

More important than the list is the direction of travel. The roundtable describes three shifts: from 'teach first, adapt later' to 'adapt while teaching'; from periodic adjustment to continuous adaptation; and from reacting to industry to trying to anticipate it. It also argues that the unit of matching should change. Instead of a one-to-one link between a major and an industry, it proposes a many-to-many link between program groups and industry chains, with cross-disciplinary centers and more student choice.

For coding education, that suggests a different shape.

First, teach problem definition before syntax. If AI can write the function, the scarce skill is knowing what function to write, for whom, under what constraints, and how to tell whether it works. That means requirements, user research, data modeling, and acceptance criteria. A student who can only write a loop is not ready; a student who can specify a small system and test it is.

Second, teach reading and verification. AI-generated code is plausible. Plausible is not correct. Students need to read code they did not write, trace data flow, write tests, and reason about failure. This is not a lesser skill than writing from scratch; it is the skill that makes AI output usable. The roundtable's emphasis on 'knowledge and ability combinations' rather than fixed program labels fits here. The ability to verify is a combination: domain knowledge, testing discipline, and skepticism.

Third, teach systems and data. A single function is easy to generate. A system that stores, secures, updates, and explains data is not. The roundtable notes that industry chains, not individual firms, are becoming the basic unit of competition. That means graduates need to understand interfaces, handoffs, and dependencies. Coding courses that stop at algorithms miss the part where most real work happens.

Fourth, teach domain context. The new majors on the list are not generic computer science; they are combinations—agricultural robotics, digital finance, business AI. That is a signal. A coding student who knows a little about health records, logistics, or accounting will be more useful than one who knows only the latest framework. Domain knowledge is also harder for AI to fake, because it is tied to local rules and messy operations.

Fifth, keep a stable core and make the edges modular. The roundtable recommends course combinations, micro-majors, modular learning, and more student choice. That is a good design principle for a four-year degree and for a six-week course. The core should be durable: mathematics, statistics, data structures, writing, and teamwork. The edges can change: a module on retrieval-augmented generation this year, something else next year. Do not build the whole curriculum around a tool that may be a feature by graduation.

There is a warning in the same material. The roundtable says program setting should not be driven by short-term demand, and it calls for public evaluation and a review mechanism before adding or cutting programs. That is relevant to AI coding courses. Industry demand is a useful signal, but it is also faddish. A school that rewrites its curriculum every time a new model launches will produce students who are always a semester behind. A school that teaches only theory will produce students who cannot ship.

The practical compromise is a studio model: small teams, real constraints, AI allowed, accountability human. Students specify a problem, build a prototype with AI assistance, test it, document what the model got wrong, and present the trade-offs. The grade should depend on the verification and the reasoning, not on whether the code looks impressive. That is closer to how the work is actually changing.

AI can write code. It cannot yet take responsibility for a system, a user, or a failed launch. Schools should teach the part that remains human.