Ask HN: Does alchohol make you a better programmer (more inside)
Here's a bit of my background:
- 9-5 developer at well known IT company
- Work on big projects with success
- High quality along with high productivity
And yet, when I get home and start working on my side project my productivity drops. I get distracted and always feel the need (even to the point of anxiety) to check HN/Reddit/email/Twitter/Facebook etc constantly (at least once every 2-5 minutes).But I've found a solution to all this. When I have around 3-4 standard drinks, my productivity sky rockets. I feel like I'm in the zone from when I get home to past 2am. I sometimes even forget to eat diner.
Even though I may be way drunk in this coding state, when I look at it the next day or even the next few weeks, it's about the same as how I would have written it sober. It's like alchohol focuses my mind and gets me in the zone.
So I'm just wondering HN - is this just me, do I have a problem, or have I found my anti-kryptonite? Any advice?
28 comments
[ 3.2 ms ] story [ 63.5 ms ] threadI've experimented with this. 1 shot of gin is nothing. 2 shots and I'm still normal. 5 and I feel like sleeping. Yet 3 seems to increase performance?
Just make sure that you end EXACTLY when you planned to end, as though you were at a job. Don't be a victim of Parkinson's Law.
But thanks for the timing advice. I'll have to try that.
Alcohol does not make you a better programmer, it dulls your mind and makes it easy to get distracted and it slows how quickly you can think.
Perhaps this increase in productivity is merely you feeling happier because you are indulging yourself, if you no longer find your programming fun you are probably more laid back about it when you are a little drunk.
- I wake up feeling like crap;
- Can't work until around 9:30am;
I also run 5k at least 4 times a week, this is my next day:
- Wake up 40 minutes before alarm rings;
- Longer stretches of concentration all day;
I quit smoking 1.2 years ago. At that time I thought that cigarettes made me more productive, specially when I had to work longer. This is how addictive drugs work. They will make your brain tricky you into thinking you will be better when consuming them.
Be careful. Drink sometimes and for pleasure only.
Alcohol may simply be allowing you to forget about some other distraction in your mind. Don't fall into the trap of thinking that it's the alcohol making you a better programmer: if you can't get through the night without a drink - then you could have a problem. Next time you reach for a drink, stop yourself - and ask yourself what your motivation is. 'Focus' implies that you are currently unable to focus, which implies distraction. Find the distraction.
http://en.wikipedia.org/wiki/Long-term_effects_of_alcohol#Br...
http://pubs.niaaa.nih.gov/publications/aa53.htm
http://medicalxpress.com/news/2012-10-recovery-brain-volumes...
http://pubs.niaaa.nih.gov/publications/arh22-1/25-34.pdf
That's all I have right now from reputable sources (that I have handy). I'm sure a simple google search will turn up a lot more (although there is a ton of pseudo science as well).
Sometimes I like to have a couple drinks while working on a side project and I understand where you're coming from. I do a lot of writing and, like many people who enjoy writing, I understand that having a few drinks and getting "in the zone" can be great for the creative juices and process every once and a while.
Many people are "functioning alcoholics." I'm not saying you're an alcoholic but that concept is something to be aware of. The regular use of that much alcohol is a certainly problem for your physical health. I think you should look into other modes of altering your physical/mental state after you come home from work. Do you exercise regularly? How's your mental health? You say that you have the need, "even to the point of anxiety," to do other things than work on code at home. To me that sounds like a problem that could be solved in some other ways not involving alcohol. Have you thought about therapy/medication, or maybe something else?
Food for thought. :) Good luck to you!
I'd suggest using the Pomodoro technique for two whole months instead of the alcohol and then re evaluating your requirements to stay focused. For me, I gave up coffee, took up Pomodoro and re discovered classical music to find my zen zone. Now even if I'm told that I can't have caffeine for medical reasons it doesn't matter.
It makes me less worried about what my initial quality/starting point and less overwhelmed about the scope or how much is left to do. Also, I get less distracted by external going on's in my life. I remember reading something about it slowing down your multitasking (background processes thinking about other things) so you focus at the task at hand. Wonder if I can find that article again.
Maybe, maybe not, but it impairs spelling "alcohol."