Live data from Hacker News

Night Hacking (the productivity boost of 2 am)

codeclimber.blogspot.com

11–20 of 23 posts

Re: Night Hacking (the productivity boost of 2 am)

#11
I've come up with my best ideas at 2am but I've learned from experience that's the worst time to try implementing them.

In the wee hours typos, syntax errors and simple transposition bugs seem to abound and those take an annoying amount of time to track down and fix. Best to just write the plan out in detail and leave the implementation until morning, unless you want to peck at the keyboard for much longer than you would have when awake.

Re: Night Hacking (the productivity boost of 2 am)

#12
post #8

Funny, this has never worked or made much sense for me. I have always been able to kick butt from 6 a.m. until as late as midnight, but after that, forget it. Then when I read the author's reasons for being so productive at night, I realized that you can do all of that during the day. I never IM, text, or RSS, only a few people have my cell phone #, I only check email (and hacker news) every hour or two, and the door…

I've always felt that I was superbly productive at night, but when I measured how much I actually got done, I was working 3-4 times more slowly than I do in the morning or just before dinner. Sleep deprivation does weird things to your perception of time; it's easy to think that you've been busily coding away, only to find that you've written about 2 functions and it's 4 hours later. So without hard data, I'm a little skeptical.

I do find that having nobody around me is a huge boon to productivity, enough that it can sometimes offset the nighttime effect. It's not just the lack of interruptions: I've found that the mere presence of people makes me concentrate on the work less, whether they're talking/IMing me or not.

Re: Night Hacking (the productivity boost of 2 am)

#13
post #5

An significant factor might also be that when you are tired, you want to get the job done quickly and you spend less time thinking about the options and more time just going ahead.

There are times I need to get a lot of boring stuff done and I can just power through that in a night session. I find I can just run through mindless work at a really fast pace when I am tired and not thinking about it too much, or thinking about all the other exciting things I could be doing.

Re: Night Hacking (the productivity boost of 2 am)

#14
Since I work for myself (from home), no one sees when I work. So I code at night when they're not calling and emailing. I often just stick to communication and getting menial stuff done during the day. Sometimes people start to notice though, and some people I work with don't bother calling me until the afternoon, in case I sleep in a bit late after a solid night of coding...

On the one hand it might look less professional in some peoples eyes, but in others they think it means I must be some kind of super hacker. Either way, it's amusing for me :)

Re: Night Hacking (the productivity boost of 2 am)

#15
post #2

I've noticed the night effect for a long time too, and while the lack of interruptions might have something to do with it, I don't think it nearly explains my 3x boost in productivity. I think there's something biological going on as well. Around 1 or 2 am, I sometimes get a bang of energy and creativity that I never get during the day. It's the "second wind," the injection (possibly) of cortisol and other stress hor…

Interesting. So maybe people who call themselves "night owls" are maybe just hacking their body's cycle to their temporary advantage... Most of my family consider themselves night owls, but maybe we've just been habituated to staying up late and abusing this.

Still, I look forward to the alone time when I code at night too. I even structure my day around it a lot of the time.

Re: Night Hacking (the productivity boost of 2 am)

#16

I've come up with my best ideas at 2am but I've learned from experience that's the worst time to try implementing them. In the wee hours typos, syntax errors and simple transposition bugs seem to abound and those take an annoying amount of time to track down and fix. Best to just write the plan out in detail and leave the implementation until morning, unless you want to peck at the keyboard for much longer than you w…

I start to have problems implementing ideas at night as well, but that only starts happening around 5am. On the other hand I'm pretty useless for at least 2 hours after I wake up.

Re: Night Hacking (the productivity boost of 2 am)

#19
post #5

An significant factor might also be that when you are tired, you want to get the job done quickly and you spend less time thinking about the options and more time just going ahead.

I've noticed coding after consuming (a small amount of) alcohol has the same effect for me - I tend to go off on fewer tangents and stick to what I need to do.
Post reply on HN