Skip to content
Stack Overflow Dev Survey 2026

How developers learned to code

Our analysis

Technical documentation (59%) is the #1 learning method, edging out AI codegen tools (53%) and general online resources (52%). Traditional methods — books (27%), colleague training (21%), school (14%) — are mid-tier. Bootcamps (6%) are the lowest formal option. The takeaway: developers are self-directed learners who combine docs, AI, and community resources rather than following a curriculum.
How developers learned to codeAll Respondents · n = 14,530All RespondentsHow developers learned to codeTechnical docs59%AI codegen tools or AI-enabl…53%Other online resources (e.g.…52%Videos (not associated with…41%Stack Overflow or Stack Exch…34%Online courses or certificat…29%Blogs or podcasts28%Books / physical media27%Colleague or on-the-job trai…21%School (i.e., university, co…14%Games or coding challenges12%Coding bootcamp6%Other4%14,530Data licensed under Open Database License (ODbL) 1.0
All Respondents · n = 14,530
Download this chart
Format

Question

How did you learn to code in the past year? Select all that apply.
  • multi select
  • Optional
  • v2026.1
  • Randomized

Data

RespondentsPercent
Technical documentation (is generated for/by the tool or system)8,55558.9%
AI codegen tools or AI-enabled apps7,65052.6%
Other online resources (e.g. standard search, forum, online community)7,51851.7%
Videos (not associated with specific online course or certification)5,97541.1%
Stack Overflow or Stack Exchange4,90933.8%
Online courses or certification (includes all media types)4,26029.3%
Blogs or podcasts4,01027.6%
Books / physical media3,84626.5%
Colleague or on-the-job training3,10621.4%
School (i.e., university, college, etc)2,06414.2%
Games or coding challenges1,70011.7%
Coding bootcamp9226.3%
Other6294.3%

Use this data

Response data is released under the ODbL 1.0, which asks that you attribute it.

Structured for code, with the question, the year and the source url alongside the numbers.

A formatted table, ready to paste into a document, an issue or a prompt.

Spreadsheet

.csv is a plain text format which most spreadsheet software can open.