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.
Question
How did you learn to code in the past year? Select all that apply.
- multi select
- Optional
- v2026.1
- Randomized
Data
| Respondents | Percent | |
|---|---|---|
| Technical documentation (is generated for/by the tool or system) | 8,555 | 58.9% |
| AI codegen tools or AI-enabled apps | 7,650 | 52.6% |
| Other online resources (e.g. standard search, forum, online community) | 7,518 | 51.7% |
| Videos (not associated with specific online course or certification) | 5,975 | 41.1% |
| Stack Overflow or Stack Exchange | 4,909 | 33.8% |
| Online courses or certification (includes all media types) | 4,260 | 29.3% |
| Blogs or podcasts | 4,010 | 27.6% |
| Books / physical media | 3,846 | 26.5% |
| Colleague or on-the-job training | 3,106 | 21.4% |
| School (i.e., university, college, etc) | 2,064 | 14.2% |
| Games or coding challenges | 1,700 | 11.7% |
| Coding bootcamp | 922 | 6.3% |
| Other | 629 | 4.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.