본문 바로가기

MrLazyDev/Earthian

Why do programmers prefer to code at night

반응형

Why do most people prefer to code at night? Because all the people who would normally disturb you are asleep.

Otherwise, you will barely even get started before something comes along and shatters your concentration: a meeting, a phone call, or even that dreaded "how's it going" from your boss, followed by his impromptu lecture on TPS reports.

To code well, you need both focus and creative energy. Context switching takes a huge toll on both, and wrecks your productivity.

But what happens when you program at night? Nothing. You have the time and silence necessary to think. And your productivity goes through the roof.

If you approach coding at night the right way, it can a healthy, sustainable practice. Stephen Wolfram, one of the most prolific programmers of all, recorded every keystroke he made for 10 years. Guess what - he's a consistent night owl, typically working until 3 a.m.


Now, some industrious developers have figured out how to reproduce the sanity of night time programming during the day. Here are some common practices that make this possible:

  • Only work for a company that lets you work remotely or gives you a private office with a door you can close.
  • Unless you're the developer who's on "pager duty," stop answering your phone. Set it to "do not disturb" and return your calls and texts once you're done programming.
  • Block out several hours at a time. It sometimes takes an hour or longer to reach a flow state. The longer you have uninterrupted, the more flow time you'll clock in, and the more you'll get done.

It's definitely harder to be a productive daytime coder. But it can be done

반응형

'MrLazyDev > Earthian' 카테고리의 다른 글

코드스테이츠 부트캠프 3일 후 하차 소감  (0) 2022.01.21
sing2 - 삶이라는 무대  (0) 2022.01.17
핀치 2021 톰행크스 주연의 로봇영화  (0) 2022.01.10
해커 윤리 Hacker Mindset  (0) 2022.01.03
강아지의 마음  (0) 2021.12.30