Hacker News new | ask | show | jobs
by chrisacky 5216 days ago
Drunk Coding is Dangerous. A few weeks ago, I had a few (too many?) glasses of wine. Spent about 6 hours trying to code some recursive function in order to migrate data stored as adjacency list in mysql to nested set.

Literally wasted the entire evening struggling.

Woke up the next day and bashed it out in about 15 minutes.

1 comments

In my particular case I did not have much of alcohol. Also I was struggling with doing this task being sober for a few evenings. It's not an "asap" and it was always second priority thing.