由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
CS版 - Why programmers work at night
相关主题
问一个关于minimum spanning tree的问题周志华抄袭一事的证据
问个DEVC的使用问题Figure number引用的时候错误显示,怎么解决? (转载)
谁能说说同步/异步IO和阻塞/非阻塞IO的区别?去年阿三兄弟搞得那个NP东西
请教如何在outlook 2010里设置gmail IMAP$2 转些国内带来的影印版经典CS书吧
VLDB PhD Workshop今天看了一个会议相关领域的所有paper的review
Wanted: a few good students[转载] 求几篇文章。
求帮忙下篇paper[转载] Re: 30多岁的phd去当programmer写code是不是很没前途??
c++ type conversion 方面的问题Re: [转载] Re: 30多岁的phd去当programmer写code是不是很没前途??
相关话题的讨论汇总
话题: work话题: tired话题: when话题: brain
进入CS版参与讨论
1 (共1页)
B**W
发帖数: 2273
1
I kept smiling and nodding when read it.
http://swizec.com/blog/why-programmers-work-at-night/swizec/319
A popular saying goes that Programmers are machines that turn caffeine into
code.
And sure enough, ask a random programmer when they do their best work and
there’s a high chance they will admit to a lot of late nights. Some earlier
, some later. A popular trend is to get up at 4am and get some work done
before the day’s craziness begins. Others like going to bed at 4am.
At the gist of all this is avoiding distractions. But you could just lock
the door, what’s so special about the night?
I think it boils down to three things: the maker’s schedule, the sleepy
brain and bright computer screens.
The maker’s schedule
Paul Graham wrote about the maker’s schedule in 2009 – basically that
there are two types of schedules in this world (primarily?). The traditional
manager’s schedule where your day is cut up into hours and a ten minute
distraction costs you, at most, an hour’s worth of time.
Prim clockwork of a wristwatch, watchmaking ex...
Image via Wikipedia
On the other hand you have something PG calls the maker’s schedule – a
schedule for those of us who produce stuff. Working on large abstract
systems involves fitting the whole thing into your mind – somebody once
likened this to constructing a house out of expensive crystal glassand as
soon as someone distracts you, it all comes barreling down and shatters into
a thousand pieces.
This is why programmers are so annoyed when you distract them.
Because of this huge mental investment, we simply can’t start working until
we can expect a couple of hours without being distracted. It’s just not
worth constructing the whole model in your head and then having it torn down
half an hour later.
In fact, talking to a lot of founders you’ll find out they feel like they
simply can’t get any work done during the day. The constant barrage of
interruptions, important stuff ™ to tend to and emails to answer
simply don’t allow it. So they get most of their “work work” done during
the night when everyone else is sleeping.
The sleepy brain
But even programmers should be sleeping at night. We are not some race of
super humans. Even programmers feel more alert during the day.
Ballmer's peak
Ballmer's peak
Why then do we perform our most mentally complex work work when the brain
wants to sleep and we do simpler tasks when our brain is at its sharpest and
brightest?
Because being tired makes us better coders.
Similar to the ballmer peak, being tired can make us focus better simply
because when your brain is tired it has to focus! There isn’t enough left-
over brainpower to afford losing concentration.
I seem to get the least work done right after drinking too much tea or
having a poorly timed energy drink. Makes me hyperactive and one second I’m
checking twitter, the next I’m looking at hacker news and I just seem to
be buzzing all over the place..
You’d think I’d work better – so much energy, so much infinite
overclocked brainpower. But instead I keep tripping over myself because I
can’t focus for more than two seconds at a time.
Conversely, when I’m slightly tired, I just plomp my arse down and code.
With a slightly tired brain I can code for hours and hours without even
thinking about checking twitter or facebook. It’s like the internet stops
existing.
I feel like this holds true for most programmers out there. We have too much
brainpower for ~80% of the tasks we work on – face it, writing that one
juicy algorithm, requires ten times as much code to produce an environment
in which it can run. Even if you’re doing the most advanced machine
learning (or something) imaginable, a lot of the work is simply cleaning up
the data and presenting results in a lovely manner.
And when your brain isn’t working at full capacity it looks for something
to do. Being tired makes you dumb enough that the task at hand is enough.
Bright computer screens
This one is pretty simple. Keep staring at a bright source of light in the
evening and your sleep cyclegets delayed. You forget to be tired until 3am.
Then you wake up at 11am and when the evening rolls around you simply aren’
t tired because hey, you’ve only been up since 11am!
A city
Image via Wikipedia
Given enough iterations this can essentially drag you into a different
timezone. What’s more interesting is that it doesn’t seem to keep rolling,
once you get into that equilibrium of going to bed between 3am and 4am you
tend to stay there.
Or maybe that’s just the alarm clocks doing their thing because society
tells us we’re dirty dirty slobs if we have breakfast at 2pm.
Fin
To conclude, programmers work at night because it doesn’t impose a time
limit on when you have to stop working, which gives you a more relaxed
approach, your brain doesn’t keep looking for distractions and a bright
screen keeps you awake.
a***y
发帖数: 852
2
good
I*******y
发帖数: 4893
3
The paragraph on energy drink is so true. Nowadays I deliberately avoid
caffine during "work work" hours.

into
earlier

【在 B**W 的大作中提到】
: I kept smiling and nodding when read it.
: http://swizec.com/blog/why-programmers-work-at-night/swizec/319
: A popular saying goes that Programmers are machines that turn caffeine into
: code.
: And sure enough, ask a random programmer when they do their best work and
: there’s a high chance they will admit to a lot of late nights. Some earlier
: , some later. A popular trend is to get up at 4am and get some work done
: before the day’s craziness begins. Others like going to bed at 4am.
: At the gist of all this is avoiding distractions. But you could just lock
: the door, what’s so special about the night?

p*********t
发帖数: 2690
4
恩,現在聪明点的公司都是早上给员工免费提供coffee.

into
earlier

【在 B**W 的大作中提到】
: I kept smiling and nodding when read it.
: http://swizec.com/blog/why-programmers-work-at-night/swizec/319
: A popular saying goes that Programmers are machines that turn caffeine into
: code.
: And sure enough, ask a random programmer when they do their best work and
: there’s a high chance they will admit to a lot of late nights. Some earlier
: , some later. A popular trend is to get up at 4am and get some work done
: before the day’s craziness begins. Others like going to bed at 4am.
: At the gist of all this is avoiding distractions. But you could just lock
: the door, what’s so special about the night?

A***o
发帖数: 358
5
早上meeting多,时间碎干活效率低慢热,午餐要去social,之后困一个小时上上网,
也就3点以后还能干一会

into
earlier

【在 B**W 的大作中提到】
: I kept smiling and nodding when read it.
: http://swizec.com/blog/why-programmers-work-at-night/swizec/319
: A popular saying goes that Programmers are machines that turn caffeine into
: code.
: And sure enough, ask a random programmer when they do their best work and
: there’s a high chance they will admit to a lot of late nights. Some earlier
: , some later. A popular trend is to get up at 4am and get some work done
: before the day’s craziness begins. Others like going to bed at 4am.
: At the gist of all this is avoiding distractions. But you could just lock
: the door, what’s so special about the night?

1 (共1页)
进入CS版参与讨论
相关主题
Re: [转载] Re: 30多岁的phd去当programmer写code是不是很没前途??VLDB PhD Workshop
Re: [转载] Re: 30多岁的phd去当programmer写code是不Wanted: a few good students
Fresh CS Ph.D.找工作问题求帮忙下篇paper
现在去industry,将来有多大可能回到学校?c++ type conversion 方面的问题
问一个关于minimum spanning tree的问题周志华抄袭一事的证据
问个DEVC的使用问题Figure number引用的时候错误显示,怎么解决? (转载)
谁能说说同步/异步IO和阻塞/非阻塞IO的区别?去年阿三兄弟搞得那个NP东西
请教如何在outlook 2010里设置gmail IMAP$2 转些国内带来的影印版经典CS书吧
相关话题的讨论汇总
话题: work话题: tired话题: when话题: brain