If an AI tool can turn a plain-English request into working code, is learning to program still worth your evenings? Or will people who can’t code be left behind as machines write more software? Both messages are everywhere, sometimes from people with something to sell, and they can’t both be right for everyone.
The short answer: for most people whose job isn’t building software, AI has not made it necessary to become a programmer. It has changed which coding-related abilities pay off. When AI lets almost anyone produce a script, a spreadsheet formula or a small app, the valuable part shifts to describing exactly what you want, reading the result well enough to check it, and recognizing when the stakes call for someone with real software expertise. How much of that you need depends on your role, what happens if the code is wrong and what your employer allows.
This guide, part of our map of the skills you need for the AI economy, helps you find the right depth for your work.
TL;DR
- Choose your depth deliberately (none, code literacy, working programming skill or professional development) based on your role, stakes and goals.
- If AI writes scripts, formulas or queries for you, learn to read them: what goes in, what changes and what gets dropped.
- Test AI-generated code on cases with known answers before relying on it.
- Match oversight to stakes, as the NCSC advises: light review for prototypes, close review and understanding for authentication, sensitive personal data, credentials or safety-critical code [1]. Beyond your depth? Bring in an expert.
What “learning to code” means, and what it doesn’t
O*NET, the federal government’s occupational database, defines the Programming skill as writing computer programs for various purposes [1]. In everyday conversation, “learning to code” covers several things, and separating them settles most of the question.
The table below is our editorial guidance, not an official classification.
| Depth | What it involves | Where it typically matters |
|---|---|---|
| Professional software development | Designing, building, testing and maintaining software other people depend on, as your main job | Software developers and engineers |
| Working programming skill | Writing and maintaining your own scripts or analyses in a language such as Python, R or SQL alongside other work | Many data, research, science and technical analyst roles |
| Code literacy | Reading a script or formula well enough to follow its logic, spot obvious problems and test it, without writing much from scratch | Anyone who relies on AI-generated scripts, formulas or automations |
| Computational thinking | Breaking a problem into steps, defining inputs and outputs, and anticipating unusual cases, with or without code | Useful across most knowledge work |
Computer scientist Jeannette Wing argued in 2006 that computational thinking is a fundamental skill for everyone, and that it means “conceptualizing, not programming” [2]. The idea predates generative AI but matters more now, because it is the part you still have to own.
Two neighboring ideas get confused with coding. AI literacy at work is enough working understanding of AI to use, question and evaluate it in your job, with no programming required. Tool familiarity is knowing how to operate one product: which button makes a coding assistant generate a script. Knowing whether that script does what you need is literacy or skill, and it outlasts any single product.
O*NET rates the importance of Programming at 94 out of 100 for Computer Programmers, 50 for Statisticians, 25 for Accountants and Auditors, 19 for Marketing Managers, 16 for Human Resources Specialists and Registered Nurses, and 13 for Lawyers [1]. These ratings describe occupation categories, not your particular job, and are not forecasts, but they show that for most occupations writing programs is not central.
What changes when AI can write code
Letting an AI assistant write nearly all the code has an informal name, “vibe coding,” coined by AI researcher Andrej Karpathy in a February 2025 post [3]. Britain’s National Cyber Security Centre, the NCSC, describes it as “giving an AI agent a high-level prompt and letting it build your application with significant autonomy” [4].
Software developer Simon Willison draws a useful line. Vibe coding, in his definition, is building software with an AI model “without reviewing the code it writes” [3]. If you have reviewed the code, tested it and can explain how it works, he argues, that is ordinary software development with AI help [3]. For a nonprogrammer, that is the crux: AI can remove the need to type syntax, not the need for someone to vouch for the result.
How much faster does AI make coding? The evidence depends on the setting:
- A defined task, mixed experience. In a 2022 controlled experiment, 95 freelance programmers recruited on Upwork were asked to build a small web server in JavaScript; among finishers, those given GitHub Copilot were 55.8% faster, with a wide confidence interval of 21% to 89% [5]. Less experienced and older programmers, and those who code more hours a day, benefited most [5]. The researchers came from Microsoft Research, GitHub (Copilot’s maker) and MIT, and it was one task in one language [5].
- Familiar, complex codebases, experienced developers. In a randomized trial by the research nonprofit METR, 16 seasoned open-source contributors tackling 246 real issues in large projects they knew well took 19% longer when allowed to use early-2025 AI tools [6]. Beforehand they predicted a 24% gain; when the work was done, they estimated a gain of roughly 20% [6].
- The picture since. METR now marks those results as out of date [6]. In February 2026 it said developers are likely more sped up by AI tools now, but called its newer data an unreliable signal, partly because more developers declined to take part, some because they did not want to work without AI, which likely biases its speedup estimate downward [7].
Responsibility has not moved. GitHub’s own documentation tells Copilot users to review, test and validate all suggestions, warns that code can look valid without being correct, and says users assume all risks of generated code, including vulnerabilities, bugs and intellectual-property infringement [8].
Faster isn’t the same as right
Developers are cautious. In Stack Overflow’s 2025 Developer Survey, 84% of respondents were using or planning to use AI tools in development, yet more distrusted the accuracy of those tools (46%) than trusted it (33%), and 66% named “AI solutions that are almost right, but not quite” as a frustration [9].
The 2026 edition (30,903 responses from 169 countries, collected June 23 to August 5, 2026) found that 48% trust AI when they can easily validate the answers, and only 16% extend that trust to most tasks that are not important work decisions [10, 11]. The most common reason given for avoiding AI, chosen by 17.1% of everyone answering, was concern over losing job skills or training an AI to replace them [11].
These are self-reported attitudes from an opt-in survey promoted through Stack Overflow’s own channels, not measures of code quality [10]. Still, coders trust AI most when they can check it, and checking takes knowledge.
Why understanding code still matters when AI writes it
If you can’t read what a script does, your only test is whether it seems to run. A peer-reviewed study presented at a major security conference in 2023 illustrates why that is weak [12]. Among 47 participants, mostly university students, the group with an AI code assistant produced code that was significantly less secure than the group without one, yet felt more confident that its code was safe [12]. Participants who produced secure solutions trusted the assistant less, and those who put more effort into their requests were more likely to end up with secure code [12]. The assistant ran on a 2022-era model, so the study cannot tell you how often today’s tools produce flaws [12]. What it shows is a mechanism that still applies: confidence can rise while quality falls.
The NCSC’s June 2026 guidance treats vibe coding as a spectrum rather than a yes-or-no choice [4]. Leaning toward full vibe coding can be acceptable for prototypes, demos and internal tools with limited exposure that involve no sensitive data or security functions [4]. It recommends more manual control for authentication, sensitive personal data, credentials, safety-critical code and anywhere a flaw would have significant consequences [4]. For higher-stakes code, it says people need to review what the AI produces, understand the code, check for vulnerabilities and verify that it does what they expect [4].
“The risk isn’t in using AI. The risk is not applying the right safeguards when the stakes are high.” [4]
Code literacy lets you judge a script for yourself and catch its mistakes before they spread: you can see what data it reads, what it changes or deletes, and what happens when an input is missing, and you can test it against cases where you know the right answer. When the stakes exceed what you can check, bring in someone with the expertise rather than cramming security engineering over a weekend. For a fuller method, see checking AI's work before you use it.
How much coding do you need? It depends on your work
There is no single right amount. As editorial guidance, four questions do most of the sorting:
- Does your work already involve code, formulas or queries? Complex spreadsheets and database queries are closer to code than they look.
- What happens if the code is wrong? A wrong chart in a draft is cheap to fix; a wrong payment file, a leaked customer record or a broken safety check is not.
- Will other people rely on it, or will it run without you watching? A script that runs on a schedule or feeds other systems is an automation, which raises the questions covered in our guide to automation literacy.
- What does your employer allow? Use only employer-approved AI tools, keep confidential, customer, employee and financial data out of anything else, and check with IT or security before connecting a script to live systems.
Our editorial read of how the answer changes by kind of work:
- People-, writing- or judgment-centered roles (managers, lawyers, clinicians, HR, sales, communications): coding is rarely the priority; AI literacy, clear instructions and judgment usually return more. See how much AI you need to know for your career and the technical AI basics nontechnical professionals should know.
- Data-, report- and spreadsheet-heavy roles (analysts, operations, finance, marketing analytics): code literacy is likely to pay off, because AI makes it easy to generate queries and scripts you must then trust. Pair it with data literacy.
- Technical and research roles (scientists, statisticians, engineers): working programming skill is often already part of the job. AI changes how you write code more than whether you need to.
- Professional software developers: fundamentals matter at least as much as before, because someone still has to design, review and secure the code AI tools produce.
Industry and stakes cut across all of these. In health care, finance or any work touching personal data, stronger review and specialist involvement are warranted whatever your own skill. Access matters too: without approved tools or IT support, don’t improvise production software.
Unsure? A skills audit shows whether coding fills a real gap; if it means changing roles, read about upskilling or reskilling.
What the job data say about coding careers
Confidence: Research Finding
Is coding still a good career bet? Official projections are mixed. BLS’s Occupational Outlook Handbook projects employment of computer programmers to decline 7% from 2025 to 2035 [13]. It says many companies are expected to use technologies including AI to automate repetitive programming tasks, with some higher-skilled tasks likely shifting to software developers [13]. Over the same period, BLS projects 10% employment growth for software developers and the quality assurance analysts and testers it groups with them, partly because of continued expansion of software development for AI [14]. BLS cautions that its projections assume technology keeps changing at its usual historical pace and that the potential effects of AI are highly uncertain [15].
Payroll data add a warning about entry-level work. Stanford Digital Economy Lab’s Canaries dashboard, built on ADP payroll records and updated October 21, 2026, places software developers in the most AI-exposed occupation group and reports large employment declines for early-career developers aged 22 to 25 since ChatGPT’s release in November 2022 [16]. Its authors call this a correlation, not proof AI caused it: with their fullest controls, declines in exposed occupations become statistically significant only in 2024, and earlier ones likely reflect non-AI factors [16]. Their sample is not the whole U.S. labor market [16].
Coding is neither obsolete nor a guaranteed safe harbor. Moving into software or AI work is a career-switching question for our Pivoting Into AI guides; economy-wide effects belong to AI + The Future of Work, and degree or first-job choices to Entry-Level Work + Education.
A workplace example: the analyst and the reconciliation script
Consider a hypothetical. A finance analyst at a mid-size distributor owns the monthly vendor reconciliation, matching invoices against purchase orders and flagging mismatches. She is not a programmer, and her name goes on the report.
She uses her employer’s approved AI assistant to draft a matching script, describing the inputs, the rules and what counts as a mismatch, which is really an exercise in problem framing. The script runs and produces a tidy list.
Rather than trusting it, she runs the script on a past month whose correct totals she knows. They don’t match. Reading the script with the assistant explaining unfamiliar parts, she finds it quietly skips invoices with no purchase-order number, exactly the ones that need a human look. She has those rows flagged instead and rechecks against the known month.
When her manager suggests running it nightly against the live finance system, she brings in IT first: a scheduled job with access to live data needs review, permissions and monitoring.
She did not become a programmer. She needed enough code literacy to see what the script did and to test it, plus the judgment to see when the stakes outgrew her own checking. Accountability for the reconciliation stayed with her.
What We Know, What We Don’t, and Where Experts Disagree
What We Know
- AI coding assistants can speed up some well-defined tasks, especially for less experienced developers in at least one study [5].
- People can misjudge how much AI helps them [6].
- Users of AI assistance can produce less secure code while feeling more confident [12].
- GitHub and Britain’s NCSC both put the onus on human review, scaled to the stakes [8, 4].
What We Don’t Know
- We found no representative data on how many nontechnical workers now use AI to write code, or on how often employers require coding in nontechnical roles.
- How much current AI tools speed up experienced developers remains unsettled; METR itself calls its newest data an unreliable signal [7].
- Whether relying on AI for code erodes skills over time is an open question. Developers report the worry [11], but a worry is not a measured effect.
What Experts Disagree About
Confidence: Expert Debate
Two prominent voices have given opposite advice. Andrew Ng, founder of the education company DeepLearning.AI, wrote in March 2025 that telling people not to learn to code because AI will automate it “will be seen as some of the worst career advice ever given” [17]. He argues that analysts, marketers, recruiters and others who can code tell AI systems more precisely what they want and get better results [17].
Nvidia CEO Jensen Huang argued at the World Governments Summit in Dubai in February 2024, as reported by The Register, that the long-standing advice that children learn computer science is reversing because AI lets people instruct computers directly [18]. He said that “for the very first time you can imagine everybody in your company being a technologist,” and that “It is vital that we upskill everyone” [18].
Both have interests: DeepLearning.AI sells AI and coding courses, and Nvidia sells the hardware AI runs on. Both rely on argument more than direct evidence about workers. And they agree more than the headlines suggest. Ng calls the ability to tell a computer exactly what you want one of the most important future skills [17]; Huang’s point is that AI makes such instruction possible without formal programming [18]. Their real disagreement is whether learning to code is the best route there.
Common misunderstandings
- “AI means nobody needs to understand code anymore.” Someone still answers for what the code does, and security guidance asks for more understanding as stakes rise [8, 4].
- “Learning to code guarantees a good job.” Projections diverge, and payroll data show early-career developer declines [13, 14, 16].
- “A coding certificate proves I can do the work.” A credential is formal recognition from an issuer; competence is shown ability to do the task to a standard. Neither guarantees employer demand. See whether certifications matter and how to prove your skills to employers.
- “If it runs, it’s right.” In Stack Overflow’s 2025 survey, developers’ top AI frustration was output that is almost right but not quite [9], and experienced developers in one early-2025 trial believed AI was helping when it was slowing them down [6].
Practical Takeaways
- Choose your depth deliberately (none, code literacy, working programming skill or professional development) based on your role, stakes and goals.
- If AI writes scripts, formulas or queries for you, learn to read them: what goes in, what changes and what gets dropped.
- Test AI-generated code on cases with known answers before relying on it.
- Match oversight to stakes, as the NCSC advises: light review for prototypes, close review and understanding for authentication, sensitive personal data, credentials or safety-critical code [4]. Beyond your depth? Bring in an expert.
- Stay inside your employer’s approved tools and data rules, and involve IT before anything runs unattended or touches live systems.
- Invest in the parts you still own: framing problems and judging results.
Sources
- Transferable Skills — Programming. O*NET OnLine (U.S. Department of Labor, Employment and Training Administration), 2026-10-06, accessed 2026-11-16.
- Computational Thinking. Communications of the ACM (Viewpoint), vol. 49, no. 3, 2006-03, accessed 2026-11-16.
- Not all AI-assisted programming is vibe coding (but vibe coding rocks). Simon Willison's Weblog, 2025-03-19, accessed 2026-11-16.
- The 'vibe coding spectrum' approach to AI-assisted software development. UK National Cyber Security Centre (NCSC), 2026-06-18, accessed 2026-11-16.
- The Impact of AI on Developer Productivity: Evidence from GitHub Copilot. arXiv, 2023-02-13, accessed 2026-11-16.
- Measuring the Impact of Early-2025 AI on Experienced Open-Source Developer Productivity. METR, 2025-07-10, accessed 2026-11-16.
- We are Changing our Developer Productivity Experiment Design. METR, 2026-02-24, accessed 2026-11-16.
- Application card: GitHub Copilot inline suggestions. GitHub Docs, accessed 2026-11-16.
- AI | 2025 Stack Overflow Developer Survey. Stack Overflow (Stack Exchange Inc.), 2025, accessed 2026-11-16.
- Methodology | 2026 Stack Overflow Developer Survey. Stack Overflow (Stack Exchange Inc.), 2026, accessed 2026-11-16.
- AI 2026 | Stack Overflow Developer Survey. Stack Overflow (Stack Exchange Inc.), 2026, accessed 2026-11-16.
- Do Users Write More Insecure Code with AI Assistants?. ACM CCS '23 (Proceedings of the 2023 ACM SIGSAC Conference on Computer and Communications Security); full version on arXiv, 2023-12-18, accessed 2026-11-16.
- Computer Programmers : Occupational Outlook Handbook. U.S. Bureau of Labor Statistics, 2026-08-27, accessed 2026-11-16.
- Software Developers, Quality Assurance Analysts, and Testers : Occupational Outlook Handbook. U.S. Bureau of Labor Statistics, 2026-08-27, accessed 2026-11-16.
- Employment Projections: 2025-2035 Technical Note. U.S. Bureau of Labor Statistics, 2026-08-27, accessed 2026-11-16.
- Canaries Dashboard. Stanford Digital Economy Lab (with ADP Research), 2026-10-21, accessed 2026-11-16.
- Learn the Language of Software. The Batch (DeepLearning.AI), 2025-03-12, accessed 2026-11-16.
- Mamas, don't let your babies grow up to be coders, Jensen Huang warns. The Register, 2024-02-27, accessed 2026-11-16.
