Skip to content
Open navigation
OpenOpen workspace

Stack Overflow Developer Survey 2026

How they learned to code in the past year by attitude toward ai

In the Very favorable group, 74% selected “AI codegen tools or AI-enabled apps”; in the Very unfavorable group, 36% did. Of the 13 answers tested, “AI codegen tools or AI-enabled apps” differs most by attitude toward ai, a small association: χ²(5, N = 7464) = 440.01, Holm-adjusted p < .001, V = .24. Respondents could select more than one answer, so the percentages add to more than 100%. These are unweighted respondents, not population estimates.

Published by crosstabs.com · Last updated ·
How results are checkedNamed statistical review pending. Selected automated reference cases are published on the validation page.

The table

The table

Question asked: How did you learn to code in the past year? Select all that apply. Respondents could select more than one answer. Shown by attitude toward ai, as the percentage of each group's respondents who selected each answer, with the number of respondents beneath. A respondent is counted in every row they selected, so a column adds to more than 100%.

How they learned to code in the past year by attitude toward ai: percentage of each group's respondents who selected each answer, and respondent counts
How they learned to code in the past yearVery favorable (A)Somewhat favorable (B)Neutral (C)Somewhat unfavorable (D)Very unfavorable (E)Not sure (F)All
Technical documentation (is generated for/by the tool or system)55.7%1,29263.7%A1,43865.2%A79572.7%ABCFe79965.5%A31157.1%5262.8%4,687
AI codegen tools or AI-enabled apps73.8%BCDEF1,71364.6%CDEf1,45950.2%E61247.4%E52136.4%17350.5%4660.6%4,524
Other online resources (e.g. standard search, forum, online community)48.2%1,11954.7%A1,23556.1%A68464.1%ABC70462.3%AB29654.9%5054.8%4,088
Videos (not associated with specific online course or certification)43.3%E1,00443.7%E98842.7%52041.0%45135.8%17038.5%3542.4%3,168
Stack Overflow or Stack Exchange25.5%59333.7%A76136.1%A44045.4%ABC49943.6%ABc20734.1%3133.9%2,531
Blogs or podcasts27.5%63831.6%A71428.6%34931.5%34629.5%14020.9%1929.6%2,206
Online courses or certification (includes all media types)29.8%D69231.3%De70631.2%D38024.5%26924.8%11820.9%1929.3%2,184
Books / physical media22.3%51727.0%A61029.8%A36330.0%A33030.3%A14428.6%2626.7%1,990
Colleague or on-the-job training22.2%51624.0%54322.8%27827.8%Ac30623.2%11019.8%1823.7%1,771
School (i.e., university, college, etc)8.4%19412.8%A28915.6%A19014.8%A16314.9%A718.8%812.3%915
Games or coding challenges9.0%20811.3%25512.1%A14813.0%Af14314.7%AF703.3%311.1%827
Coding bootcamp5.9%1374.5%1026.6%d814.0%445.7%278.8%85.3%399
Other, please specify3.7%853.1%694.3%523.4%374.4%2112.1%ABCDe113.7%275
Respondents2,3212,2591,2191,099475917,464

A letter beside a percentage names the columns it is significantly higher than (uppercase 95%, lowercase 90%; pairwise column tests, Bonferroni-corrected). 23,439 of 30,903 respondents have no answer to one of the two questions (not asked or not answered) and are left out.

Analysis

Results

Chi-square test of “AI codegen tools or AI-enabled apps”

χ² = 440.01

df = 5, Holm-adjusted p < .001

Effect size

Cramér's V = 0.243

a small association

The strongest answer, APA-style: χ²(5, N = 7464) = 440.01, Holm-adjusted p < .001, V = .24. Each answer is tested on its own, as the respondents who selected it against those who did not, across the 6 groups (N = 7,464). The p-values are Holm-adjusted for the 13 answers tested; 13 of them differ by attitude toward ai at the 0.05 level.

How they learned to code in the past year by attitude toward ai: the test of each answer, selected against not selected, by attitude toward ai
AnswerSelectedχ² (df = 5)Adjusted pCramér's V
Technical documentation (is generated for/by the tool or system)62.8%103.15< .0010.118
AI codegen tools or AI-enabled apps60.6%440.01< .0010.243
Other online resources (e.g. standard search, forum, online community)54.8%90.38< .0010.110
Videos (not associated with specific online course or certification)42.4%12.29.0400.041
Stack Overflow or Stack Exchange33.9%159.65< .0010.146
Blogs or podcasts29.6%15.09.0400.045
Online courses or certification (includes all media types)29.3%26.55< .0010.060
Books / physical media26.7%38.81< .0010.072
Colleague or on-the-job training23.7%14.72.0400.044
School (i.e., university, college, etc)12.3%56.95< .0010.087
Games or coding challenges11.1%28.27< .0010.062
Coding bootcamp5.3%14.72.0400.044
Other, please specify3.7%22.84.0020.055

How to read it

No single chi-square test covers this table. A respondent appears in every row they selected, so the rows are not separate groups of people, and a test of the whole table would count the same person several times. Each answer is tested on its own instead: did the share who selected it differ between the groups? Testing 13 answers gives 13 chances of a false alarm, so the p-values are Holm-adjusted to keep the chance of any false alarm in this table at 0.05.

For “AI codegen tools or AI-enabled apps” the test rejects independence at the 0.05 level (Holm-adjusted p < .001): differences this large between the groups are unlikely if selecting it did not depend on attitude toward ai. Cramér's V of 0.243 is in the small range, which is real but modest: knowing someone's group tells you only a little about their answer.

With 7,464 respondents, even small differences reach statistical significance. Read the percentages and the effect size before the p-value.

Limits

  • The survey has no weights. These tables are unweighted counts of the people who answered, so they describe the respondents, not developers in general.
  • The test treats respondents as a simple random sample. They are people who chose to answer a survey Stack Overflow promoted, not a random sample of developers, so a result holds for these respondents and may not hold beyond them.
  • The adjustment covers the answers of this question by this group only, not the other tables in the library. The headline answer is the strongest of those tested, so its effect size is larger than a typical answer's.
  • A difference between groups is not evidence that group membership causes the answer.

Next steps

Work with this table

Open the test of “AI codegen tools or AI-enabled apps” in the calculator

The link fills in the respondents who selected this answer and those who did not, by group. The whole table does not open there: its rows overlap, and the calculator's test needs rows that are separate people.

Open this question in the full file

The workspace opens all 30,903 respondents in your browser with this question selected. The survey has no weights, so the table there is unweighted too. Change the group, add a filter or export from there.

Open in the workspace →

Run this on your own data — free, no signup

Upload a CSV, Excel, SPSS, Stata, SAS, R, Parquet or JSON file. Everything runs in your browser; your file never leaves your device.

Open the workspace →

The same question by other groups

Other questions that differ by attitude toward ai

Source

Stack Overflow. 2026 Developer Survey, https://survey.stackoverflow.co/2026, licensed under the ODbL 1.0. Tabulated by crosstabs.com. Variables LearnCodeHow (How they learned to code in the past year) and AISentiment. Stack Overflow licenses the survey data under the Open Database License (ODbL) 1.0 and its contents under the Database Contents License (DbCL) 1.0: credit Stack Overflow, keep the licence notice, and share any database made from the data under the ODbL. These tables and their downloads are offered on those terms.

  1. [1]Stack Overflow: 2026 Developer Survey public results (survey_results_public.csv)survey.stackoverflow.co
  2. [2]Stack Overflow: Open Database License (ODbL) 1.0opendatacommons.org