Spyke

Slightly less than two drinks = positive effect on programming ability

https://arxiv.org/abs/2404.10002

Abstract (emphasis mine):

The concept of a 'Ballmer Peak' was first proposed in 2007, postulating that there exists a very specific blood alcohol content which confers superhuman programming ability. More generally, there is a commonly held belief among software engineers that coding is easier and more productive after a few drinks. Using the industry standard for assessment of coding ability, we conducted a search for such a peak and more generally investigated the effect of different amounts of alcohol on performance. We conclusively refute the existence of a specific peak with large magnitude, but with p < 0.001 find that there was a significant positive effect to a low amount of alcohol - slightly less than two drinks - on programming ability.

View original on lemmy.world

The concept of a 'Ballmer Peak' was first proposed in 2007

where do you thnk it was proposed?

53

I'd argue that this is for the XKCD, not the other way around.

39
lemmy.blahaj.zone

I've found that the best way to utilize alcohol when programming is to code sober and comment drunk. It's a wonderful way to make commenting both fun to write and to read later.

I have tried coding under the influence, but I can't do it. Even small amounts of alcohol makes it really hard to do anything complex. But if it works for you, good on ya.

31

Also works for customer service. Have a ridiculously minor issue that really doesn't matter but still irks a small part of you and you're too much of a wimp to speak up about? Check your sent folder in the morning after a night of drinking.

Protip: [email protected].

8

I did some of my best problem solving on Vicodin.

Two beers and I'm fully functional.

2

Knew a guy in university that looked like a young Prince Charles that would pop half a tab of LSD whenever he ran into an issue he couldn't solve. Somehow that worked.

This was in the late 90s early 00s, well before Randall made the comic about The Ballmer Peak

23
sh.itjust.works

Microdosing LSD is a common thing nowadays in the tech world. It definitely increases your creativity and mental energy, so it makes sense. Your friend was probably ahead of the curve. I'm not sure if the idea was as popular back then.

10
lemmy.world

The rest of use were tending towards macro dosing. He may have known about it, but he didn't really talk about it that much. Certainly wasn't encouraging other to try it.

9
programming.dev

Maybe his dose wasn't small enough to be considered micro. I'd wager half a tab would give a light trip instead of a full

2

I dunno. I never took less than 2 tabs even my first time, cause less than that didn't seem to do anything as far as visuals went. Just made me feel twitchy

3
Kit
lemmy.blahaj.zone

I once worked in IT for an MSP that kept beer on tap in the office for this exact reason. Techs were encouraged to have a beer or two when stumped on an issue. It worked surprisingly well.

This did result in a few years of struggling with alcohol issues tho.

19

#1544 - I can no longer code without drinking at least 3 glasses of beer, am I becoming an alcoholic? - [Duplicate] [Won't fix]

19
lemmy.world

I absolutely know this is case with my writing. Really helps you enter a flow state. Not to be trifled with, Mitchell and Webb did a sketch on it actually and they also went with "just under two drinks".

16

I do it with many drinks and then send before I sober up. You just have to pray that you never see that text again.

1

Yeah, I was thinking this seems to be the case with many things, not just programming. Just don't drive please.

1

I came to post this, but I’m happier to see that it’s already here!

4

The idea that drinking helps has been around a lot longer than 2007. Since basically the discovery of alcohol. Yes, it can help with nerves a little bit, but none of your skills are improved, and most are impaired.

15

Maybe it depends upon the person.
I have difficulty programming properly while listening to music so maybe I'd find it hard to do so with alcohol too.

In my case, it's probably because I tend to keep as much of the context as possible into my current memory, which gets reduced if I'm distracted by sounds (whether music or noise). The ADHD Relief music tracks tend to work well though, since they aren't very distracting and help get rid of other peoples' noise.

9
lemmy.world

In my experience I can write more code after a few drinks. However I usually find that the code is of low quality when I check it the next day…

8
Anticorpreply
lemmy.world

Really? I've written code so advanced while drunk that I couldn't even understand it the next day, but it did what it was supposed to do and solved complex issues.

1
Anticorpreply
lemmy.world

I have no idea! But it looked very complicated and advanced, and did what it was supposed to do. LOL

2

I mean maybe that just means you were bad at naming which is the hardest part! When I’m sober I spend a lot of thought on naming things, and when it gets skipped over while drunk I’m just like wtf did I write?

3

I have written brilliant code while drunk that I didn't understand the next day. I doubt I could have even solved the problem sober.

7
Anticorpreply
lemmy.world

I'm a better dirt bike rider after a couple of beers. The beer relaxes you and your body just does what it needs to do, instead of tensing up with fear.

-3
canreply
sh.itjust.works

Maybe that's true, but is it really worth the risk?

2
Anticorpreply
lemmy.world

Yes! I don't drink any more though, but it sure was fun when I was younger. I should clarify in the original post that I was talking about dirt bikes.

2
canreply
sh.itjust.works

That does make it sound a little better. At least then you were probably only risking harming yourself.

3

We were never harmed in a decade of doing that, so I'd call it a win. I'm not talking about getting hammered, I'm talking about having a couple of beers before you go riding.

2
lemmy.world

You sound like a donorcycle rider. One who is casual about potentially traumatising and/or injuring others.

1
sh.itjust.works

To be fair, if they really, honestly, stick to one or two drinks, they should be under the legal limit in most places in the US. This depends on their weight and the strength of the drinks, too, but anyone over 120 pounds is normally still under the limit after 2 average strength beers.

The problem is that it's easy and tempting to overdo it, but as long as they have self discipline to not ever drink too much, it can be fine.

5

Legal doesn't mean safe; it just means the lawmakers are too corrupt, stupid, cowardly, or weak to tighten the limit.

-4
sh.itjust.works

This applies to a lot of physical activities as well. I have a friend who's a really good bowler, and every one of his 300 games (perfect score for you non-bowlers) has been when he's had exactly 2 drinks. He can't do it with less because he gets too nervous - and more means he gets too sloppy and loses his edge.

We joke and call beer "bowling juice".

6

I've also found another peak somewhere after 6, I lost count. I couldn't stand straight but I went like 34 kills to 6 deaths in a vr shooter.

5
lemmy.ml

The Unity office in Bellevue used to have beer on tap in the cafeteria. Idk if it still does what with all the fuckery going on... Maybe one day I'll actually go into the office and I can report back

5

If you walk around Microsoft's office buildings, you'll see several people's personal offices with full bars in them.

3

I don't understand? It seemed like a fun and relevant tidbit to me. Also there is no bragging about working for Unity anymore the place is a disaster

1
JadenSmithreply
sh.itjust.works

I can imagine being that old would make it difficult to think straight, tbh. What's your secret?

4

I have a Balmer Peak when golfing. Three beers in and i’m a scratch golfer. 4 and I’m Happy Gilmore on his first outing.

2
lemm.ee

Apparently Mr. Ballmer is a real programmer at Microsoft. Even better, he was still working at Microsoft in 2007 when the comic came out, but retired a few years later.

1
lemmy.world

He was the CEO at the time, and I don't know that he was ever involved with writing any code.

11
lemmy.ca

I wonder if there's a comparable effect for machining

1