TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Do You Drink and Code?

29 pointsby superdarioabout 3 years ago
Not like drink at work, but after work.<p>I do that. After work I come home, relax and start coding my own projects. But while coding I open a bottle of expensive drink and I sip, little by little, usually I get buzzed. So the day after I need to revisit my code to see what I&#x27;ve done xD<p>How about you?

23 comments

soul_grafittiabout 3 years ago
For code reviews: White Wine. Gewurztraminer, chenin blanc, off-dry rieslings. You want something that&#x27;s clean on the palette and not sugary sweet. Chardonnay is far too congenial in this session - you&#x27;re not necessarily here to make friends.<p>Alternatively gin and tonic but for crap sake use a good gin.<p>Brainstorming: Tequila. Just try it. Margaritas if everyone is under 23.<p>Structure and Design: Red wine. Deep, rich, moody cabernets, old style zinfandels that roar out of the glass. This is where you pop for the expensive bottles so you do it right the first time.<p>There is an argument to be made for single malt scotch or 12 year old bourbon here. Either is a solid choice but avoid mixing them in the same session.<p>Bug Fixes: Beer. Hoppy micro-brews but avoid the high alcohol content ones. Also avoid the hazy, unfiltered fadish brews. You want to see and think straight and be sharp.<p>Dull, tedious refactoring 5 year old crap code: Rose. Hear me out- it&#x27;s about creating a mind set here. Rose is just that - it&#x27;s a mind set more than an actual drink.<p>Anything having to do with Mongo db: Grand Marnier, Ouzo, Pernod - something at least 80 proof with a strong flavor to compensate for the bitter taste in your mouth.<p>Bottoms up!
评论 #31303376 未加载
Gravynessabout 3 years ago
I do, and find it kind of fun, it&#x27;s great to avoid burnout by making your project less &#x27;intense&#x27; because when you are slighly drunk you usually take routes that are not perfect but works which makes the project move at a steady pace. Perfection is for my sober self, who was years of practice in his craft, when I&#x27;m buzzed I am just a average programmer that wants things to work. The compiler does not allow me to drink too much too so there&#x27;s that.<p>The coolest moments are when you get into the flow, and forget to drink, and you sober up. Those are exceptionally productive moments.
评论 #31298813 未加载
评论 #31305582 未加载
kelseyfrogabout 3 years ago
No. I used to though. It was a coping mechanism for me. I made some large life changes and desire to drink has gone to zero. Now I feel better, and happier.
评论 #31305421 未加载
shaggie76about 3 years ago
I save fun optimization problems that usually involve a lot of time waiting for builds and tests to run for a Friday or Saturday night with a few Manhattans and a movie; it&#x27;s a nice way to relax and even if you only made inconsequential optimizations you can feel good about it.<p>Tonight I looked over at my wife and drawled &quot;I just optimized away 200K of bytecode. Wanna make out?&quot; Strangely she didn&#x27;t not take me up on the offer but I think she&#x27;s just jealous of the Amarena cherries in my glass.
ok_dadabout 3 years ago
I do a bit of weed then code at home. I either get great results and find new and interesting ways to implement features, or I spend two hours building and tweaking useless bike shedding code.
评论 #31303111 未加载
the_only_lawabout 3 years ago
Occasionally. Have indeed hit a Balmer Peak.
评论 #31302307 未加载
评论 #31300784 未加载
评论 #31298224 未加载
评论 #31298312 未加载
BirAdamabout 3 years ago
I don’t do this anymore, but much of the best code I have ever written was done drinking. Same as much of the best StarCraft matches I ever had. Something about slowing my brain down seems to help me in certain pursuits. These days, I smoke a cigar instead.
评论 #31300985 未加载
6stringmercabout 3 years ago
Whether or not it’s true about the origin of the quote, “write drunk, edit sober” has yielded pretty strong results in creative writing.<p>If you can fight through the inevitable next day and look at it a couple days later and see what you were reaching for, well, it’s an iterative process no matter the state of mind. Ever read a teenager’s break up poetry?<p>There’s a reason most of those books ended up in the trash (or archived from LiveJournal).<p>I’m not advocating these methods, but I’m also not denigrating them.
评论 #31302295 未加载
jneumann004about 3 years ago
Drinking an coding has never worked well for me, but a little bit of marijuana (legal for adults in my state) can help me get some good code written.
评论 #31305447 未加载
LandRabout 3 years ago
Had a meeting one afternoon, after having been at the pub for lunch. This turned into doing shots...<p>Did the meeting and went back to put. Honestly the next day I barely even remembered it.<p>The next day I was told I was great in the meeting. I was asked if I could contribute like that every meeting...<p>Sober me hates meetings, but apparently drunk me LOVES meetings!
评论 #31299098 未加载
livinglistabout 3 years ago
I do smoke weed and code, I barely drink because my allergy… smoking weed helps me increase my concentration
评论 #31305397 未加载
eternityforestabout 3 years ago
Nope, I don&#x27;t code on any substance other than caffeine. When I drink enough to get buzzed, I usually start losing interest in that level of careful planning, and likely wind up in front of a TV or on Facebook.<p>I&#x27;m more likely to drink to put coding out of my mind than to go code some more.
评论 #31305580 未加载
ksajabout 3 years ago
Sometimes I have. But I find myself increasingly unproductive that way. When it comes to experimentation, it is a different story altogether - then a bit of lucubration lubrication is just what the doctor ordered. I usually make the most interesting discoveries that way.
karmakazeabout 3 years ago
I used to code a lot on lack of sleep. Sometimes the code was creative and other times I would forget I did, write it all again after getting some sleep then hit a duplicate name clash then start to remember that I&#x27;d already written it.
yokoprimeabout 3 years ago
Maybe a handful of times over the last 15 years, but certainly not regularly. I would be extremely wary of making a habit of it, and at any sign of drinking being something you crave you should take a break from doing this.
bravetravelerabout 3 years ago
I used to! It&#x27;s a good time for sure.<p>My drinking has slowed down the past few years otherwise I still would. It adds a nice bit of levity to things - the sloppy nature of everything and &#x27;inspired&#x27; feedback can be an adventure.
ffhhjabout 3 years ago
I drink just a can to celebrate when my code is working... so I never get drunk.
评论 #31305392 未加载
daviddever23boxabout 3 years ago
You&#x27;re either a productive drunk or you aren&#x27;t.<p>If not, don&#x27;t drink.<p>End of.
评论 #31298828 未加载
betwixthewiresabout 3 years ago
Can&#x27;t do it. I can&#x27;t focus on code unless I&#x27;m stone cold sober or with a little coffee.
synackabout 3 years ago
If I drink and code, I usually end up reverting in the morning.
评论 #31305398 未加载
Iwan-Zotowabout 3 years ago
Always!<p>Who could code being sober?
评论 #31305388 未加载
giantg2about 3 years ago
<a href="https:&#x2F;&#x2F;xkcd.com&#x2F;323&#x2F;" rel="nofollow">https:&#x2F;&#x2F;xkcd.com&#x2F;323&#x2F;</a>
rad_gruchalskiabout 3 years ago
No.