An observational study of programming and cannabis intoxication

An observational study on cannabis intoxication and programming performance, based on LeetCode-style tasks, prompts debate over whether weed meaningfully impairs logic and focus or can sometimes aid creativity and motivation. Many programmers report feeling more inspired or less bored while high but later finding their code sloppy, their productivity lower, and their perceived gains largely illusory. Others note nuanced, dose-dependent effects—such as using small amounts to ease tedium, manage ADHD-like symptoms, or reduce burnout—while warning that self‑medication and reliance on substances are risky long‑term strategies.

Perceived Effects on Programming Performance

  • Many report worse logic, short‑term memory, and productivity when high; code often needs rework when sober.
  • Some find they do “very little” real work, or drift into tangents and unaligned tasks.
  • A minority feel certain programming work (e.g., high‑level design, abstract relationships) can benefit, but detail‑oriented tasks suffer.

Task Type: LeetCode vs Real-World Work

  • Several criticize using LeetCode puzzles, arguing they’re unlike “boring” 9‑5 feature work and CRUD apps.
  • Others counter that LeetCode is actually harder and more cognitively demanding than much day‑to‑day coding, so the study remains relevant.
  • Consensus: algorithmic puzzles test a narrow slice of “real” development, especially for experienced engineers who spend much time in meetings, specs, and support.

Creativity, Focus, and “Feeling” Productive

  • Multiple anecdotes: cannabis boosts motivation or “out‑of‑the‑box” ideas but not implementation quality.
  • Several mention a gap between feeling creative/focused while high and later recognizing the output as mediocre.
  • Some see cannabis as good for monotonous tasks (cleaning, running, boring editing) and for making tedium tolerable, but bad for deep reasoning.

Dose, Individual Differences, and Other Substances

  • Repeated emphasis on dosage: micro/low doses may relax and spark ideas; heavy intoxication is uniformly described as unproductive.
  • Experiences appear bimodal: for some it is “transformative” for focus and creativity; for others it causes sleepiness or chaos.
  • Comparisons arise with alcohol (Ballmer Peak), caffeine, amphetamines/ADHD meds; several stress that not all drugs are alike.

Workplace, Burnout, and Ethics of Self‑Medication

  • Debate on whether reduced accuracy but higher morale and lower burnout could be a net positive.
  • Others argue this may mask deeper problems (toxic jobs) and blunt pressure on employers to improve conditions.
  • Comparisons are drawn to using coffee or antidepressants versus using cannabis for work stress; relevance and ethics are contested.

Usage Strategies and Harm Reduction

  • Some advocate very infrequent use (e.g., every couple months) as a “reset” to generate higher‑level insights without sliding into dependency.
  • There is concern about habituation, addiction risk, and losing weeks to continuous use.
  • A few treat cannabis similarly to a carefully dosed tool: experimenting with strains, terpenes, and timing relative to workload.