Ask HN: How do you deal with long compile times?

1 points by caspervonb ↗ HN
What do you spend your time on while something is building for an hour or more?

I end up doing reviews and triaging issues, but of course 30 minutes or longer to wait on a compile breaks focus.

3 comments

[ 3.3 ms ] story [ 17.6 ms ] thread
Focus is not usually the problem here. It's actually context-switch.

Avoid any task that has high context-switch cost.

Writing documentation of the changes that were made, Writing test cases for the code that I just added, Writing a detailed commit message for the changes...

...and trying to figure out if the compile time can be reduced!