4 ms·
Ask HN: Can You Code Under the Influence of Alcohol?
I can't code while buzzed/drunk, so I avoid drinking at all if I'm going to do any work at night.
But recently I was talking to a co-worker who told me he can crank out even more code with a buzz. So, can you code after a few drinks?
- FirstHopSystems 16y agoEveryone can code when buzzed/drunk. I guess the point is "can you code well?" Drunk folks can drive, except they tend to run into/kill people pretty often.
- SamReidHughes 16y agoI'm glad you helped out all the socially deficient people who were confused by this submission.
- donniefitz2 16y agoGood point.
- Animus7 16y agoI actually find it makes my hacking about twice as productive. When I tune out all of the other things going on in my head, the only thing left is a brainstem that's quite optimized for the C++ pointer twiddling tedium that fills my nights.
- donniefitz2 16y agoI once worked at the Microsoft Technology Center in Mountain View for a week and they had beer. They told me I could have one whenever, so I had a few Killian's and I was useless after about 2 or 3. Interesting how others seem to benefit from it.
- spooneybarger 16y agoYes.
- devan 16y agoGod yes.
- tgriesser 16y agoI always think of this when the question is asked: http://xkcd.com/323/ http://xkcd.com/323/
- mmaunder 16y agoYes. I find it harder to code with good music (i.e. distracting music) than after 2 glasses of wine. But I'll never deploy until I review the next morning and it gets tested and OK'd. I also throw away a lot of code, no matter what condition I was when I wrote it. 2 glasses of wine is my max though. After that it's hard to balance on the exercise ball and I have to transition to the lazyboy.
- haploid 16y agoAbsolutely. The effect rapidly turns to disaster after a certain BAC, though. My personal Ballmer's Peak is more like an inverse sigmoid curve.
- roversoccer18 16y agoI find that I am able to code a more rapid speed, when under the influence, but if I go pass a certain point the quality of my code drop significantly.
- bo_Olean 16y agoI once wrote Pacman in one go with few shots, but i myself don't understand the code well now, it still runs though. Yes. Often, I start from scratch and not with existing code/project.
- mahmud 16y ago3-4 beers in, that's when I actually get creative and make interesting stuff. Programming ability UP, debugging ability waaay down though :-| I spit out 3 pages of amazing jquery that turns a <div /> into an organism, but I was totally axed by a rogue semicolon somewhere in the middle.
- bartonfink 16y agoWas it one you wrote or was it one that the interpreter inserted to "help?"
- niktrix 16y agoworking boozed increases productivity
- anarchitect 16y agoI wish I could, but that side of my brain shuts down after more than one drink.
- Sloven 16y agoMy brain works better next day.
- lenary 16y agoSometimes yes, sometimes no. it depends on the alcohol, how much and other external factors like my levels of motivation or tiredness. It would be clichéd to say that some of my best work was done drunk, but i'd also like to point out that some of my worst has been done when drunk too.
- metachris 16y agoI get less effective with every beer, and after two or three my ability to concentrate significantly decreases. I switched to non-alcoholic beer recently : )
- albox 16y agoEverything seems easier with alcohol. :)
- peacemaker 16y agoFor me it all depends on what I'm doing. If it's something that needs a bit of a creative spark, one or two beers tends to help that process. If it's more of a complex/mathematical type problem I need to be completely sober and in total silence!