High Expectations: An Observational Study of Programming and Cannabis Intoxication
Wenxin He, Manasvi Parikh, Westley Weimer, Madeline Endres
摘要
Anecdotal evidence of cannabis use by professional programmers abounds. Recent studies have found that some professionals regularly use cannabis while programming, even for work-related tasks. However, accounts of the impacts of cannabis on programming vary widely and are often contradictory. For example, some programmers claim that it impairs their ability to generate correct solutions, while others claim it enhances creativity and focus. There remains a need for an empirical understanding of the true impacts of cannabis on programming. This paper presents the first controlled observational study of cannabis's effects on programming ability. Based on a within-subjects design with over 70 participants, we find that, at ecologically valid dosages, cannabis significantly impairs programming performance. Programs implemented while high contain more bugs and take longer to write (𝑝 < 0.05) -a small to medium effect (0.22 ≤ 𝑑 ≤ 0.44). We also did not find any evidence that high programmers generate more divergent solutions. However, programmers can accurately assess differences in their programming performance (𝑟 = 0.59), even when under the influence of cannabis. We hope that this research will facilitate evidence-based policies and help developers make informed decisions regarding cannabis use while programming.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
它引用的 Paper7
- Program Comprehension and Code Complexity Metrics: An fMRI StudyNorman Peitek, Sven Apel, Chris Parnin, André Brechmann 等ICSE 2021 · 59 次引用
- Neurological divide: an fMRI study of prose and code writingRyan Krueger, Yu Huang, Xinyu Liu, Tyler Santander 等ICSE 2020 · 38 次引用
- To read or to rotate? comparing the effects of technical reading training and spatial skills training on novice programming abilityMadeline Endres, Madison Fansher, Priti Shah, Westley WeimerFSE 2021 · 18 次引用
- The Role of Working Memory in Program TracingWill Crichton, Maneesh Agrawala, Pat HanrahanCHI 2021 · 13 次引用
- Hashing It Out: A Survey of Programmers' Cannabis Usage, Perception, and MotivationMadeline Endres, Kevin Boehnke, Westley WeimerICSE 2022 · 11 次引用
相关 Paper
- From Organizations to Individuals: Psychoactive Substance Use By Professional ProgrammersKaia Newman, Madeline Endres, Westley Weimer, Brittany JohnsonICSE 2023 · 5 次引用
- "Get Me in the Groove": a Mixed Methods Study on Supporting Adhd Professional ProgrammersKaia Newman, Sarah Snay, Madeline Endres, Manasvi Parikh 等ICSE 2025 · 3 次引用
- Correlates of programmer efficacy and their link to experience: a combined EEG and eye-tracking studyNorman Peitek, Annabelle Bergum, Maurice Rekrut, Jonas Mucke 等FSE 2022 · 28 次引用
- Do you really code? Designing and Evaluating Screening Questions for Online Surveys with ProgrammersAnastasia Danilova, Alena Naiakshina, Stefan Horstmann, Matthew SmithICSE 2021 · 5 次引用
- An Eye for AI: Eye-Tracking the Micro-Interruptions of GenAI Code SuggestionsTarek Alakmeh, Sarah D’Angelo, Thomas FritzICSE 2026 · 1 次引用
