If you’re learning to code right now, an AI tool can probably write the thing you’re stuck on. Working developers use AI tools all the time, and increasingly so in a practice called AI-assisted development, where AI handles execution and the human developer stays in control of understanding, decisions, and accountability.
More than 30,000 people took Stack Overflow’s 2026 Developer Survey, and when it asked developers which languages they’ve used AI tools or agents with over the past year, Python and JavaScript came out on top. The survey question is about AI-assisted coding, meaning languages developers worked in with an AI tool’s help — not, say, languages used to build AI models.
AI models work well with Python and JavaScript in part because they’re massively popular on their own. JavaScript was the most popular language in the survey (for the 12th year in a row!), and there’s a massive volume of JavaScript and TypeScript code out there for LLMs to train on. Python, which is ranked fourth most popular overall after SQL and HTML/CSS, uses a simple syntax with pre-written libraries and frameworks that allow you to start coding more complicated AI and machine learning concepts faster.

Top 10 programming languages for AI work
Here’s the rest of the top programming languages for AI work, plus courses you can take to learn the languages and AI-assisted development at the same time.
- Python (39.0%). Python is 4th in overall use and 1st for AI work, with 5,495 developers using AI tools to write it. Its syntax is close to plain English, which makes AI-written code easier to read. Learn Python with AI is a beginner skill path that teaches the language with Codex CLI as your coding partner, and it takes about 9 hours. You build 7 projects along the way, including a student grade tracker in plain Python.
- JavaScript (38.4%). 5,419 developers used AI with JavaScript, only 76 fewer than with Python. It runs in every browser and has topped the survey’s overall list for 12 years in a row. AI-Assisted Front-End Development is a skill path where you build React (a JavaScript library) apps with Codex CLI. It takes about 8 hours and Learn Prompt Engineering is suggested before you start. The path is rated intermediate, so if JavaScript is still new to you, Learn JavaScript is the place to start.
- HTML/CSS (33.3%). Every web page rests on HTML and CSS, including the ones an AI tool generates for you. Knowing them means you can see what it built and change it. Try the Build a Website with HTML, CSS, and GitHub Pages skill path, or start smaller with Learn HTML.
- TypeScript (30.4%). TypeScript is JavaScript with a type system added, and 43.8% of developers did extensive work in it this year. The types give you a check on code you didn’t write yourself. Learn TypeScript walks through applying what you know about JavaScript syntax to those types.
- SQL (29.8%). SQL comes in second place for overall use and 29.8% of developers say they use it for AI work. Whether you’ve been writing SQL for years or are only starting out with databases, AI can streamline how you write queries and work with data. Learn How to Use AI for SQL walks through generating SQL with tools like ChatGPT and Gemini, and it spends real time on where that goes wrong, including hallucinations and data security. It suggests having the SQL basics down first, and Learn SQL is where to get them.
- Bash/Shell (28.6%). 4,038 developers used AI with Bash or another shell. Many AI coding agents run in the terminal, so the command line comes up even if you never plan to write a script. Learn the basics in Learn the Command Line, then automate tasks with Learn Bash Scripting.
- C# (16.2%). The numbers fall sharply after Bash, from 28.6% to 16.2% here. Microsoft developed C#, and developers use it for games and business software. Learn C# is the beginner course.
- PowerShell (14.6%). PowerShell edges out Java by five developers, 2,057 to 2,052. Learn PowerShell is an interactive introduction to the command-line tool used for Windows automation.
- Java (14.6%). Java is 7th in overall use at 27.6% but 9th for AI work. Learn the fundamentals and build practice projects in Learn Java.
- Rust (11.4%). Rust takes the last spot by seven developers over C++, 1,602 to 1,595. In the same survey, 26.3% of respondents said they want to use Rust next year, and 67.4% of the people who’ve used it want to keep going. Rust for Programmers is aimed at people who already know another language.
Just outside the top 10
C++ sits at 11.3% and Go at 10.8%. Codecademy has a course for each: Learn C++ and Learn Go. C is the odd one out, with 21.8% of devs doing extensive work in it and 7.9% using AI with it.
Codecademy teaches this way of working while you learn the language. Learn Python with AI and AI-Assisted Front-End Development each have you build 7 projects with Codex CLI as your coding partner, so you pick up the syntax and the workflow together. If you haven’t settled on a language yet, AI-Assisted Development with Codex CLI is a 3-hour beginner course built around the workflow itself, and Intro to Vibe Coding is a lighter way to try an AI assistant and learn when to leave it out. If you want practice with an AI coding assistant while you learn, Intro to Vibe Coding covers how to use one effectively and when to leave it out.
The full results are in the 2026 Stack Overflow Developer Survey.







