MHN

Ask HN: Tricks to integrate late coding session in current workflow?

24 points by KohgnaK·4326 days ago·Show in HN

Hi everyone,

We're under quite a lot of pressure lately to finish a project by the end of Feb. Probably like a lot of you guys, I'm at best when I'm "in the flow" which often leads me to code till 3
am - 4am.

The problem is that if in my early twenties I used to be able to recover over only a few hours sleep for the next day, it seems like it is impossible for me right now (early 30's).

1/ Do you have any tricks or tips to ease the recover and have a somehow normal day after a late coding session?

I know that this approach while somehow good for work purposes is disastrous for health on the long run so:

2/ What tricks/tips do you use during your working day to minimize interruptions (so you could go at least 1/2 way "in the flow") ?

Cheers!

Add a comment on Hacker News →
1 of 27 comments
  1. Let me turn this question around a little. I'm a manager of a software development department. I have a coder who works best at night. I got upset with him for falling asleep at his desk. Not once, but many times. He tells me "I'm up all night working".

    To make this situation worse, our office is very over-crowded. It's hard for me to see how anyone gets anything done.

    But, we have meetings the devs need to be at. Project scoping, standups with the stakeholders, etc. Plus, major architecture decisions are made in person. So, we have a pretty strict "work from home only twice per week" rule.

    How do I let this developer work when he is at his best, without excluding him from critical decisions? And, how do I encourage him to work at his best, without encouraging the lower-performing members to see it as an opportunity to slack off?