Repository for Hashing it Out: A Survey of Programmers’ Cannabis Usage, Perception, and Motivation, to be published at ICSE 2022.
Cannabis is one of the most common mind-altering substances. It is used both medicinally and recreationally and is enmeshed in a complex and changing legal landscape. Anecdotal evidence suggests that some software developers may use cannabis to aid some programming tasks. At the same time, anti-drug policies and tests remain common in many software engineering environments, sometimes leading to hiring shortages for certain jobs. Despite these connections, little is actually known about the prevalence of, and motivation for, cannabis use while programming. In this paper, we report the results of the first large-scale survey of cannabis use by programmers. We report findings about 803 developers' (including 450 full-time programmers') cannabis usage prevalence, perception, and motivations. For example, we find that some programmers do regularly use cannabis while programming: 35% of our sample has tried programming while using cannabis, and 18% currently do so at least once a month. Furthermore, this cannabis usage is primarily motivated by a perceived enhancement to certain software development skills (such as brainstorming or getting into a programming zone) rather than medicinal reasons (such as pain relief). Finally, we find that cannabis use while programming occurs at similar rates for programming employees, managers, and students despite differences in cannabis perceptions and visibility. Our results have implications for programming job drug policies and motivate future research into cannabis use while programming.
- Madeline Endres: University of Michigan, endremad@umich.edu
- Kevin Boehnke: University of Michigan, kboehnke@umich.edu
- Westley Weimer: University of Michigan, weimerw@umich.edu
This paper will be published in the proceedings of the International Conference of Software Engineering (ICSE), 2022. A PDF of the full paper is available here and a link to the arXiv open access version will be added shortly.
- Survey Instruments: Contains Qualtrics and Word versions of the main survey.
- Recruitment Information: Contains the list of GitHub projects we recruited from, email scraping scripts, and the contents of recruitment emails.
- IRB Protocol: Contains our full accepted IRB application
- Data Analysis: Contains all scripts used for data analysis. Includes a Jupyter Notebook with our analysis in it as well as an additional Jupyter Notebook with a sub-population analysis without educators as suggested by our reviewers.
While we include all of our analysis scripts and overall results, we cannot include our raw data (even de-identified) in our replication package due to the sensitivity of our research topic and the stipulations of our IRB. Any researchers interested in the raw data, please contact the first and/or third author so that we can talk with you and our IRB about working with secondary data.