Live data from Hacker News

An observational study of programming and cannabis intoxication

arxiv.org

11–20 of 112 posts

Re: An observational study of programming and cannabis intoxication

#13
I have coded many times when high (very rarely on somebody's dime, but it may have happened during Covid few times): you end up doing very little.

Occasionally you'll have some crazy idea and follow it, the kind of ideas that you don't have normally.

But in general your productivity will be very low and results poor.

Don't do any kind of drugs or alcohol if you need your brain to be sharp. It's nonsense.

Re: An observational study of programming and cannabis intoxication

#14
Can't recall where I read this off the top of my head, but wasn't a similar idea tested with musicians? If memory serves correct, the results were that while high, the musicians thought what they were making was great, but when they later revisited it when sober, they thought it was rubbish.

Re: An observational study of programming and cannabis intoxication

#16

I have coded many times when high (very rarely on somebody's dime, but it may have happened during Covid few times): you end up doing very little. Occasionally you'll have some crazy idea and follow it, the kind of ideas that you don't have normally. But in general your productivity will be very low and results poor. Don't do any kind of drugs or alcohol if you need your brain to be sharp. It's nonsense.

that's me on a normal day without ADHD meds... and even then if I'm in a depressive funk, I can't think for shit. Hyper focus though can be glorious and make me feel like a 10x programmer for a few days lol..

Re: An observational study of programming and cannabis intoxication

#18

Can't recall where I read this off the top of my head, but wasn't a similar idea tested with musicians? If memory serves correct, the results were that while high, the musicians thought what they were making was great, but when they later revisited it when sober, they thought it was rubbish.

It was some study about usage of cocaine.

That's why using drugs is really stupid, they don't enhance your capabilities, they simply give you an illusion of that.

Re: An observational study of programming and cannabis intoxication

#19

- "enhances creativity and focus" Wait, how do you make cannabis enhance task focus? I'm unfamiliar

I once got stoned and watched a washing machine wash a load from start to finish. Utterly fascinating and no way I'd have that focus unaltered. It's not clear whether it was a good use of time though.

Re: An observational study of programming and cannabis intoxication

#20

> Second, our larger programming tasks were taken the LeetCode repository of skills-based interview questions. These questions may not be indicative of industrial practice (Behroozi et al., 2019). This is partially mitigated by the fact that they are indicative of programming tasks people carry out and study for in the hiring process. It doesn't seem like they tested "boring" 9-5 programming, or programming net new f…

they should have tested building out some crud app in their preferred stack. leet code is hard if you're not high, and it's mentally challenging since every question is a new high complexity issue where normal code you might have a spot your stuck in, but the rest is easy to finagle.
Post reply on HN