Live data from Hacker News

Code sober, get things done drunk

alexmuir.com

1–10 of 95 posts

Re: Code sober, get things done drunk

#2
Just don't get too drunk.

A theory floating around HN a couple days ago was that a few drinks help you focus because they are a tax on your mind. It makes your mind disregard distractions (like second thoughts etc.) because otherwise it simply couldn't function.

Re: Code sober, get things done drunk

#3
I have personally programmed a lot while tipsy (never drunk, I am not sure I would want to read that code in the morning) and it allows me to get over the humps of writing that utility function that needed to be written but I was putting off, it allows me to just start putting code down in vim without really worrying whether or not it is good enough...

Let me quantify good enough a little better. I am a perfectionist, I tend to write my code methodically and slowly and over-think and overanalyse every last line, I refuse to write a piece of code if I don't think it is good enough.

When I drink alcohol it takes away all of the above and lets me just write the damn code. Most of the time (there have been times that I've been closer to drunk than sober) the code works exactly as required and it passes code reviews without issues. It compiles, it works, and is the "perfect" code for the situation. Sure three months down the line it may need to be re-factored a little bit to add a new feature that was decided on by management, but in the mean time it has shipped.

Now, please don't take my example and think that you can become a better programmer by simply going out and buying a bottle of vodka. It most likely won't work. Should you give it a try? Sure, what have you got to lose? Just don't become dependant on alcohol as a way to function in everyday life. Been there done that, and it is not pleasant at all.

Re: Code sober, get things done drunk

#5
I'm the other way round - I try not to send emails etc when I'm drinking, because I think my social behaviour changes a lot more than my programming ability does (it's easier to write a message, but much more difficult to judge if it's the right thing to say).

I find that after a beer or two I'm much more likely to stay motivated to work on the same project, rather than procrastinating or switching to something else. Keep in mind that the line between there and being drunk can be surprisingly thin.

(Homebrewing and working from home are a great combination to find yourself drinking when you shouldn't be)

Re: Code sober, get things done drunk

#9
Yeah, sounds like a really great idea to handle business communication while being intoxicated...

If you write 20 lines of BS code, it does not really matter. Thanks to your VCS you revert and finito. On the hand, one wrong email can haunt you, because it affects people. There is no undo.

Re: Code sober, get things done drunk

#10

Reminds me of this XKCD, aptly titled "The Ballmer Peak": http://xkcd.com/323/

I have noticed a similar effect in other areas myself. On example is bowling. Sober, I am terrible, but after a few beers I rock the lane; right before I start to wobble and fail to hit even a single pin :P
Post reply on HN