from Hacker News

Ask HN: What do you do while waiting for builds?

by hackerbabz on 9/21/20, 3:59 AM with 2 comments

  • by greenyoda on 9/21/20, 4:56 AM

    From experience, I can tell you what not to do: Don't look at HN. It's much too easy to get lost in some captivating thread and spend much more time there than you intended. The same is true of news sites or financial sites or social media.

    Checking work-related e-mail (or other work-related messaging media) is a possibility. At least if you end up spending more time there than you intended, it's something that you probably needed to eventually do for your job anyway. The risk is that you'll spend too much time on that and will have lost your state of flow for your programming task by the time your build is done.

    One possibility would be to think about what the next steps are that you'd need to do when the build is done. Any new tests you need to write? What would you do if the current build doesn't actually fix the bug you thought you fixed? Can your code be refactored to make it better? Etc.

  • by pmontra on 9/21/20, 5:05 AM

    Work on other branches or projects. Go to the restroom. Have a coffee.

    If working from home do some housecleaning. Wash dishes. Shave. Prepare food for lunch or dinner. Etc.