
π§ StackOverflow 2020 Developer Survey Analysis π Welcome to my data analysis project based on the 2020 StackOverflow Developer Survey a global survey with responses from 64,000+ developers! This project dives deep into the demographics, experiences, and preferences of developers worldwide using tools like Pandas, NumPy, Matplotlib, and Seaborn. ππ
π Dataset Overview The dataset was obtained from StackOverflow's 2020 Developer Survey, one of the largest annual surveys targeting developers globally.
-
π’ 21 Questions asked per respondent
-
π₯ 64,000+ Respondents
-
π Covers diverse aspects such as:
-
Country of residence
-
Age (current & when they started coding)
-
Coding experience (total and professional)
-
Most used & preferred programming languages
-
Most dreaded programming languages
-
Current job roles
-
Educational background
π§ Key Insights from the Survey π Community & Demographics
-
The survey is somewhat representative of the global programming community.
-
β οΈ However, there's a noticeable underrepresentation of: -
Programmers from non-English speaking countries
-
Women and non-binary individuals
π‘ Diversity & Inclusion
-
The programming community is not as diverse as it can be.
-
Improvements are visible, but:
- We should support underrepresented groups more proactively β be it by age, gender, race, or geography.
π Education & Career Path
-
Most developers have a college degree, though:
-
A large number did not major in Computer Science.
- β A CS degree isn't mandatory to become a developer!
-
Many work as freelancers or part-timers, which can be a great entry point into tech careers.
π» Programming Languages
β Most Used in 2020
-
π₯ JavaScript
-
π₯ HTML/CSS
-
π₯ SQL & Python
π Most Loved Languages
-
π§‘ Rust
-
π TypeScript
-
π Python (close third, despite already being mainstream)
π« Most Dreaded Languages
-
These are languages developers currently use but donβt want to continue using in the future:
-
β VBA and Objective-C: dreaded by nearly 80% of users π¬
-
β Perl and Assembly: dreaded by approximately 71% of users π
π Most Wanted/Favoured
- Python leads, likely due to its ease of learning and broad applicability across domains like web dev, data science, automation, and more.
π Statistical Analysis: Age First Coded vs. Professional Experience
To explore whether starting to code earlier leads to a longer professional coding career, I applied Spearman Correlation and Mutual Information Regression between:
Age1stCode (age when the respondent first coded)
YearsCodePro (years of professional coding experience)
This was done separately for: π§βπ» Hobbyists (those who started coding as a hobby) π Non-Hobbyists
π Results & Interpretation:
Spearman Correlation
Hobbyists: -0.05
Non-Hobbyists: -0.10
π§ Interpretation: Weak to no monotonic relationship between when someone starts coding and their professional experience.
Mutual Information
Hobbyists: 0.0000
Non-Hobbyists: 0.0041
π§ Interpretation: No significant non-linear dependency found.
π Conclusion: The age you start coding has little to no predictive power for how long you code professionally. Itβs influenced more by external factors like opportunity, education, and consistency. This leads to four clear behavioral quadrants among developers:
Quadrant | Behavior |
---|---|
π© Quadrant 1 | Started young (e.g., age 10) and coded professionally for a long time (e.g., till age 50) |
π¨ Quadrant 2 | Started late (e.g., age 40) and still managed a long professional career (e.g., till 80) |
π¦ Quadrant 3 | Started young but didn't continue for long professionally |
π₯ Quadrant 4 | Started late and coded professionally for a short span |
π Moral of the story: Itβs never too early or too late to start coding, what matters more is your consistency and passion πͺ
β±οΈ Work Habits
- Developers typically work ~40 hours per week, with some regional variation.
πΆπ΄ Age & Coding
- People from a wide range of age groups code.
- It's never too late (or too early!) to start coding β even as a hobby.
Python
Pandas
NumPy
Matplotlib
Seaborn
This analysis paints a broad picture of the global coding community as of 2020. While we celebrate the growth and enthusiasm in the field, there's a clear call to action for making programming more accessible and inclusive for all. And maybe... drop that VBA code π . Also, don't worry about when you start coding, just start. π