# Stack Overflow survey finds AI tools second for learning to code

> More than 30,000 people answered Stack Overflow's 2026 Developer Survey. Technical documentation was the most common way they learned to code in the past year. AI tools came second.

The Yoink Report (CodeYoink) | Worldwide | Research | News of 6 October 2026 | Published 5 November 2026

Stack Overflow published the results of its 2026 Developer Survey on 6 October 2026. They include how developers learned to code over the past year.

The company said in [its results post](https://stackoverflow.blog/2026/10/06/the-results-of-the-2026-developer-survey-are-here/) that more than 30,000 people took the survey over seven weeks. [The Register reported](https://www.theregister.com/software/2026/10/10/stack-overflow-survey-finds-devs-hooked-on-ai-but-not-totally-sold-on-its-judgment/5301662) 30,903 responses from 169 countries. Stack Overflow said 52% of people are still learning new coding skills. When they learn something new, 79% want to build AI skills.

Of the 14,530 people who said how they learned to code in the past year, 58.9% used technical documentation. These are the guides that the makers of a language or tool write about it. [The results page](https://survey.stackoverflow.co/2026/community/data/learn-code-how) shows AI code generation tools second at 52.6%. Online courses or certification were picked by 29.3%, school (university or college) by 14.2% and coding bootcamps by 6.3%.

For learners, the figures show that people who already code most often learn from documentation and AI tools. Fewer than a third used an online course or certificate. The Register reported that about 7% of respondents trust AI output for important work decisions. It said 48% trust it when they can easily check it.

People could pick more than one answer. The results page does not split the answers by experience. So it does not show how complete beginners learned or how well each method worked. Stack Overflow said the full data set will be published on GitHub in a few weeks.

## Sources

- Stack Overflow Blog: [The results of the 2026 Developer Survey are here](https://stackoverflow.blog/2026/10/06/the-results-of-the-2026-developer-survey-are-here/)
- Stack Overflow Developer Survey 2026: [How did you learn to code in the past year](https://survey.stackoverflow.co/2026/community/data/learn-code-how)
- The Register: [Stack Overflow survey finds devs hooked on AI, but not totally sold on its judgment](https://www.theregister.com/software/2026/10/10/stack-overflow-survey-finds-devs-hooked-on-ai-but-not-totally-sold-on-its-judgment/5301662)

Picture: Sebastiaan ter Burg from Utrecht, The Netherlands, CC BY-SA 2.0, https://commons.wikimedia.org/wiki/File:Wikimedia_Hackathon_2013_-_Day_3_-_Flickr_-_Sebastiaan_ter_Burg_(15).jpg

Web page: https://codeyoink.com/news/stack-overflow-survey-learning-to-code
