Skip to main content
QUICK REVIEW

[论文解读] Hashing It Out: A Survey of Programmers' Cannabis Usage, Perception, and Motivation

Madeline Endres, Kevin F. Boehnke|arXiv (Cornell University)|Dec 17, 2021
Advanced Malware Detection Techniques被引用 4
一句话总结

本研究首次对程序员群体中的大麻使用情况进行了大规模调查,发现18%的程序员在编程时每月至少使用一次大麻,主要出于对认知能力提升的感知,例如在头脑风暴和进入‘心流状态’时,尽管职场中普遍存在大麻使用政策。研究结果挑战了人们对软件工程领域大麻使用的既有假设,凸显了员工行为与企业反毒品政策之间的脱节。

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.

研究动机与目标

  • 调查软件开发人员在编程任务期间大麻使用的普遍程度。
  • 理解在编程情境下使用大麻的动机,区分医疗用途与认知增强的原因。
  • 考察不同角色(如员工、经理、学生)之间使用模式的差异,以及对可见性和污名感的感知。
  • 评估工作场所毒品政策对软件工程领域招聘和开发者吸纳的影响。

提出的方法

  • 通过匿名在线调查对803名参与者(包括450名全职专业开发人员)进行了大规模调查。
  • 参与者通过开源社区、大学团体及社交媒体编程论坛招募,以确保样本的多样性。
  • 调查收集了大麻使用频率、动机(如创造力、专注力、疼痛缓解)、与工作相关的大麻使用情况,以及对职场毒品检测的体验。
  • 对人口统计学和角色差异进行了比较,以评估员工、经理和学生在使用和感知上的差异。
  • 通过强调匿名性并排除非使用者,减轻了自我选择偏差;并通过与已知招募人群人口统计数据对比,验证了数据质量。
  • 采用统计分析识别使用模式、动机和政策暴露之间的关联,包括在新冠疫情期间的变化。

实验结果

研究问题

  • RQ1程序员在执行编程任务时,大麻使用的普遍程度如何?
  • RQ2在编程过程中使用大麻的主要动机是什么——认知增强、医疗缓解,还是其他因素?
  • RQ3不同职业角色(如员工、经理、学生)在编程时使用大麻的行为有何差异?
  • RQ4工作场所毒品政策(包括强制毒品检测)在多大程度上影响了程序员的招聘和留任?

主要发现

  • 调查中18%的程序员报告在编程时每月至少使用一次大麻,表明这是一种显著且规律的行为。
  • 35%的受访者至少有一次在大麻影响下进行过编程,表明该行为普遍存在且被广泛尝试。
  • 在编程期间使用大麻的主要动机是感知到对认知能力的提升,如头脑风暴和进入‘编程心流状态’,而非医疗原因。
  • 尽管对可见性和污名感的感知存在差异,但员工、经理和学生在编程时使用大麻的比例相近。
  • 29%的受访者表示曾为编程相关的工作接受过毒品检测,表明反毒品政策在软件工程职场中依然普遍。
  • 研究发现,新冠疫情期间的远程办公与工作相关编程任务中大麻使用率的上升有关。

更好的研究,从现在开始

从阅读论文到最终审阅,大幅缩短您的研究时间。

无需绑定信用卡

本解读由 AI 生成,并经人工编辑审核。