LATEST UPDATESEnglish
IINUOD NewsA curated stream of attributed news links
Stay close to the storiesA clear view of source-attributed news headlines.
Business

Andrew Ng: AI Now Writes the Code, but 'Replacement Anxiety' Is Overblown

Andrew Ng: AI Now Writes the Code, but 'Replacement Anxiety' Is Overblown In a fireside chat for Stanford University's CS329Z course, Andrew Ng — founder of DeepLearning.AI, co-founder of Coursera and an adjunct professor at Stanford University — laid out his

Illustrative imageIllustrative image

Andrew Ng: AI Now Writes the Code, but 'Replacement Anxiety' Is Overblown

In a fireside chat for Stanford University's CS329Z course, Andrew Ng — founder of DeepLearning.AI, co-founder of Coursera and an adjunct professor at Stanford University — laid out his views on AI coding tools, agent development and human judgment. He said flatly that he has largely stopped writing code by hand and no longer reviews AI-generated code line by line, but at the same time he believes anxiety about "AI replacing programmers" is significantly overblown.

The conversation was moderated by Diyi Yang, an assistant professor in Stanford University's Department of Computer Science. Ng said during the chat that his reason for abandoning line-by-line code review is practical: AI systems generate so much code that if he had to look at every line, he himself would become a huge bottleneck in the process. He instead relies on rigorous testing, guardrails and sandboxing to build trust. He offered a concrete example: when building a new coding agent, he confines the tools' operating scope to a designated working directory, so that even if he cannot predict what the model will do, deterministic code can constrain the boundaries of its impact.

Still, Ng does not treat AI-generated code as unconditionally trustworthy. He acknowledged that coding agents have made plenty of mistakes in his online projects, including data being permanently deleted and backdoors added for testing not being removed after deployment, ultimately remaining on a production website. His conclusion is layered: when the codebase is small and the risk is high enough, human review is still necessary; when facing massive volumes of generated code, line-by-line review is hard to sustain. He stressed that human engineers also ship code with bugs, and that teams have always relied on testing, fixing and protective mechanisms to deliver software without guaranteeing that every line is correct — so "a human looked at it" should not be the only source of trust.

Yang offered a different view during the conversation. She argued that in the short term, code still needs to be reviewed to confirm that things are progressing normally, and she worried that some changes work in the short term while problems accumulate over the long term, and that agent behavior is harder to predict than human behavior. The disagreement thus comes down to this: as more and more code is generated, which steps should retain human review, and how much work can other verification mechanisms bear.

On agent development methodology, Ng argued that the biggest difference between effective teams and underperforming ones is not how fast models or tools update, but whether they can stick to rigorous error analysis and evaluation-driven processes. He summed up the approach to building agents as mastering two extremes and switching between them as a project progresses: build a rough prototype quickly early on and observe where it fails; later, build a high-quality benchmark test set and conduct rigorous evaluation and CI regression testing. He noted that many teams only repeatedly tweak prompts, hitting a bottleneck after accuracy climbs from 0 to 80%; another type of team is familiar only with heavy processes and struggles to carry out rapid early-stage exploration.

He also cautioned that using agents to automate tasks humans can already do is relatively easy, because every step has a human approach and result to compare against, making it easier to pinpoint where things went off track when something goes wrong. To accomplish something even humans do not yet know how to do — for example, proving an entirely new mathematical theorem — there is no human-level performance as a reference, making error analysis and debugging far more difficult.

During the conversation, Ng gave a clear negative verdict on "chatbots help learning." He said chatbots are designed to get work done, not to help people learn, and that "cognitive outsourcing" — letting a tool think for you — harms learning outcomes. He cited a University of Pennsylvania study finding that students who used chatbots scored 17% lower on final or math closed-book exams. He does not, however, advocate banning learners from using AI; instead he supports designing interactions centered on "whether the content is truly mastered." He said he is investing in the LearnVector project, an attempt to use AI to build one-on-one learning experiences that adjust to a learner's knowledge level.

On the question of judgment, Ng believes humans still hold a clear advantage. He introduced the concept of the "jaggedness of intelligence," noting that AI makes astonishing progress on verifiable tasks but still performs far worse than humans on judgment-type tasks with no single correct answer — architecture choices, product priorities, hiring timing and the like. He illustrated the difficulty of evaluating AI output with his own experience: in fields he knows well, AI's judgments often seem poor; in fields he knows nothing about, it is easy to feel it is doing a great job. Fluent explanations make a proposal easier to read, but they cannot judge for the user whether it is appropriate.

He also addressed concerns about the technology knowledge gap. Citing the prompt-engineer boom as an example, he argued that such tricks spread quickly and that models are becoming easier to use, no longer requiring the convoluted, obscure phrasing of two years ago. The truly lasting gap lies in practical application and deployment experience — for example, how to use AI to improve bank operations, the workings of health care systems or the reliability of manufacturing plants, and how to reorganize teams so they have AI-native capabilities. He expects the shift from non-AI-native to truly AI-native to take about a decade of sustained effort, and stressed that "a group of AI-native individuals does not automatically make an AI-native team."

On open-source and open-weight models, Ng said he has very high confidence that they will survive, with the biggest risk coming from overly restrictive regulation. He believes closed proprietary models and open-weight models each have ample room to develop, because intelligence can be applied to tasks of varying difficulty, from complex mathematics to simple grammar checks.

At the end of the conversation, Ng brought the topic back to anxiety itself. He said that for many people the biggest risk is not that AI will actually replace them, but that fear of being replaced will lead them to give up early and drop out of the competition — when in fact AI still does many things poorly. He mentioned a student who loves writing and doubted whether it was still worth the effort because she felt she was worse than ChatGPT, which saddened him. His advice: use AI, recognize that it does not do well on many judgment tasks, and keep learning how to do those things well.

In his view, typing less code by hand can be a change in how you work; stopping understanding the problem is what will make it harder and harder to judge whether the tool is actually doing a good job.

Once added, BigGo Finance appears first in Google Search Top Stories, so you get the broadest, most up-to-the-minute, and most comprehensive global financial news first.

Add preferred source