What is it about?

This study examines whether there is a difference in Python programming styles between gender groups. I examine available code on GitHub, a cloud-based hosting platform for collaboration known as version control, often used in open-source software development. First, I infer the gender of users from their usernames and the information provided on their profiles, labeling users as feminine, masculine, ambiguous, and anonymous. Anonymous users had no gender-based markers on their profiles, while ambiguous users had feminine and masculine characteristics. I then collect the publicly available projects of these users written in Python. Next, I analyze and generate statistics on Python files’ adherence to style guidelines using a linter, an automated checking of source code for programmatic and stylistic errors. My findings reveal a gendered difference in the structure and components of Python files. However, I also discovered no gender difference regarding violations of Python style guidelines and code quality. This study shows gender difference in Python programming styles but not in the standard or quality of the code.

Featured Image

Read the Original

This page is a summary of: Programmed differently? Testing for gender differences in Python programming style and quality on GitHub, Journal of Computer-Mediated Communication, November 2023, Oxford University Press (OUP),
DOI: 10.1093/jcmc/zmad049.
You can read the full text:

Read

Contributors

The following have contributed to this page