Elon Musk: Coding Was a Top Job for Decades. It Will Be Dead By the End of the Year.

Photo of David Moadel
By David Moadel Published

Quick Read

  • Musk predicts AI will write machine code directly by year-end, a shift TSLA's autonomy roadmap and MSFT's $37B AI business are already built around.

  • Anthropic reports Claude authored over 80% of its merged code by May 2026, with engineers merging 8x more code daily than in 2024.

  • AI-related layoffs in 2026 have already surpassed all of 2025's total, with software engineers and tech workers cut first.

  • Act now: the analyst who called NVIDIA in 2010 just named his top 10 AI stocks — and Google didn't make the cut. Grab the names FREE today.

Elon Musk: Coding Was a Top Job for Decades. It Will Be Dead By the End of the Year.

© Loren Elliott/Getty Images

Tesla (NASDAQ:TSLA | TSLA Price Prediction) CEO Elon Musk has made yet another sweeping prediction about the future of work, this time aimed squarely at software engineers. Speaking at a recent conference, the Tesla chief argued that the entire practice of writing code in human-readable programming languages is about to become obsolete.

In a clip circulated on X by @Bitcoin_Teddy, Musk laid out a strikingly aggressive timeline for the demise of traditional programming at Tesla and across the industry. His remarks framed the shift as imminent rather than gradual:

I think actually things will move maybe even by the end of this year to where you don’t even bother doing coding. The AI just creates the binary directly… [Traditional coding is] an intermediate step that actually will not be needed, probably by, I’d say, the end of this year.

Musk’s core claim, that AI models will soon write machine code directly and skip the high-level languages developers use, is characteristically provocative of the Tesla CEO.

As for TSLA stock, it’s been a bit bumpy lately, trading at $405 and down 10% year to date (YTD). Tesla’s bull case increasingly hinges on autonomy and AI, with 1.28M active Full Self-Driving (FSD) subscriptions and $1.95B in R&D reported on the company’s Q1 2026 update.

Anthropic’s New Paper Adds Fuel to the Fire

Anthropic published “When AI Builds Itself” on Friday, and the numbers caught the attention of Tesla and Microsoft (NASDAQ:MSFT) watchers alike. As of May, more than 80% of the code merged into Anthropic’s codebase was authored by Claude, up from low single digits before Claude Code launched in February 2025.

The typical Anthropic engineer merged about 8x as much code per day in Q2 2026 as in 2024. The paper states that the length of tasks AI can reliably complete has been doubling roughly every four months, with Claude Opus 4.6 now handling about 12-hour tasks.

Anthropic frames Claude-written code as roughly at parity with human-written code today, and expects it to be better within the year. The paper’s central theme is “recursive self-improvement,” with the human role at firms like Anthropic narrowing toward direction-setting, judgment, and research focus.

What It Means for Microsoft, Alphabet, and Tesla

Microsoft owns GitHub Copilot, the dominant AI coding assistant, and CEO Satya Nadella told investors the AI business surpassed a $37 billion annual revenue run rate, up 123% year over year (YoY). Microsoft’s commercial remaining performance obligations (RPO) climbed to $627B, with capex running at $30.88B in the most recent quarter. MSFT stock trades near $410.

Alphabet‘s (NASDAQ:GOOGL) Google fields Gemini and AlphaCode on the coding front, and Q1 2026 revenue jumped to $109.9B with Google Cloud growing 63%. Google CEO Sundar Pichai noted that Gemini now processes over 16 billion tokens per minute via direct API use, up 60% from last quarter. GOOGL stock is up 16% YTD, and is thus outperforming the rest of this trio.

For Tesla, the link is direct. Musk’s bet on Optimus humanoid robots, Dojo 3 silicon, and a next-gen AI5 inference processor depends on AI that can write, optimize, and ship its own software at scale. So, if even part of his coding prediction lands, Tesla’s autonomy roadmap accelerates.

A Bold Timeline, With Caveats

Musk’s “by the end of this year” timeline is a bold and currently unproven call. Even Anthropic, which provides perhaps the most aggressive in-house evidence, describes a future where human code review becomes a new bottleneck and engineers shift toward setting direction rather than vanishing entirely.

The job-market impact is already showing up at Microsoft, Alphabet, and across the sector. AI-related layoffs in 2026 have already surpassed all of 2025’s total, with tech workers cut first.

Investors should treat Musk’s prediction as directional rather than literal. Whether traditional coding “dies” this year or simply transforms, the capital flowing into Microsoft, Alphabet, and Tesla’s AI stacks suggests the coding profession’s center of gravity is moving quickly, and the companies that own the model layer stand to benefit most.

Photo of David Moadel
About the Author David Moadel →

David Moadel is financial writer specializing in stocks, ETFs, options, precious metals, and Bitcoin. David has written well over 1,000 articles for leading online publications, helping investors understand markets, income strategies, and risk.

His work has appeared in The Motley Fool, InvestorPlace, U.S. News & World Report, TipRanks, ValueWalk, Benzinga, Market Realist, TalkMarkets, Finmasters, 24/7 Wall St., and others.

With a master’s degree in education, David has taught at the elementary, high school, and college levels. That teaching background shapes his writing style: clear, educational, and practical. David has also built a loyal social-media audience by providing trustworthy financial content on YouTube, X/Twitter, and StockTwits.

Continue Reading

Top Gaining Stocks

INTC Vol: 94,965,047
MU Vol: 37,834,629
KLA
KLAC Vol: 585,930
AMAT Vol: 4,405,068
LRCX Vol: 5,114,468

Top Losing Stocks

CTRA Vol: 73,319,495
TEL Vol: 2,111,326
AKAM Vol: 2,718,795
HSY Vol: 1,091,093
VMC Vol: 545,499