Hashing It Out: A Survey of Programmers' Cannabis Usage, Perception, and Motivation
Abstract
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, perceptions, 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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
8 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- "Get Me in the Groove": a Mixed Methods Study on Supporting Adhd Professional Programmers cites Leaving My Fingerprints: Motivations and Challenges of Contributing to OSS for Social Good
- "Get Me in the Groove": a Mixed Methods Study on Supporting Adhd Professional Programmers cites From Organizations to Individuals: Psychoactive Substance Use By Professional Programmers
- From Organizations to Individuals: Psychoactive Substance Use By Professional Programmers cites Leaving My Fingerprints: Motivations and Challenges of Contributing to OSS for Social Good
- Who's Pushing the Code? An Exploration of GitHub Impersonation cites Leaving My Fingerprints: Motivations and Challenges of Contributing to OSS for Social Good
Cited by top-tier papers8
- "False negative - that one is going to kill you": Understanding Industry Perspectives of Static Analysis based Security TestingAmit Seal Ami, Kevin Moran, Denys Poshyvanyk, Adwait NadkarniS&P 2024 · 40 citations
- Mental Wellbeing at Work: Perspectives of Software EngineersNovia Wong, Victoria Jackson, André van der Hoek, Iftekhar Ahmed et al.CHI 2023 · 35 citations
- From Organizations to Individuals: Psychoactive Substance Use By Professional ProgrammersKaia Newman, Madeline Endres, Westley Weimer, Brittany JohnsonICSE 2023 · 5 citations
- "Get Me in the Groove": a Mixed Methods Study on Supporting Adhd Professional ProgrammersKaia Newman, Sarah Snay, Madeline Endres, Manasvi Parikh et al.ICSE 2025 · 3 citations
- Who's Pushing the Code? An Exploration of GitHub ImpersonationYueke Zhang, Anda Liang, Xiaohan Wang, Pamela J. Wisniewski et al.ICSE 2025 · 2 citations
Builds on1
Related papers
- High Expectations: An Observational Study of Programming and Cannabis IntoxicationWenxin He, Manasvi Parikh, Westley Weimer, Madeline EndresICSE 2024 · 2 citations
- A Large-Scale Survey on the Usability of AI Programming Assistants: Successes and ChallengesJenny T. Liang, Chenyang Yang, Brad A. MyersICSE 2024 · 126 citations
- Flow Experience in Software EngineeringSaima Ritonummi, Valtteri Siitonen, Markus Salo, Henri Pirkkalainen et al.FSE 2023 · 6 citations
- Code Today, Deadline Tomorrow: Procrastination Among Software DevelopersZeinabsadat Saghi, Thomas Zimmermann, Souti ChattopadhyayICSE 2025 · 1 citation
- Why Do Developers Remove Lambda Expressions in Java?Mingwei Zheng, Jun Yang, Ming Wen, Hengcheng Zhu et al.ASE 2021 · 9 citations
