69
30
Reading about producitivity lately, it seems that multi-tasking is a bad strategy* (and I certainly feel that it contributes to stress), but I'm not sure how to avoid it when working on legacy software that takes tens of minutes to compile.
What strategies can I use to avoid the overhead of task switching, without just sitting and watching my code compile?
I've tried doing small tasks (cleaning my desk, checking e-mail), but I go through tens of edit/compile cycles on this project per day, so quickly run out of trivial tasks to complete.
Alternatively, what are some strategies for managing context switches without burning out?
See:

I wish it took only 10 minutes to compile and link in my work environment. – Arlie Stephens – 2016-04-28T00:01:19.480
7How about document the time spent waiting to compile, do a little match on it and see if you can use it to justify a faster machine (including an ssd drive) to you manager... – eflat – 2012-02-14T00:12:46.783
I have switched from using C++ to D, Ada, and various other languages, where using a compiled language matters. Now I never have this question of what to do while waiting. No more a few minutes of fun... – DarenW – 2012-09-20T00:00:20.510
+1 for saving up for an SSD...... – n611x007 – 2013-05-22T13:43:03.470
8What language are you working with? I'm just curious if it is a modern one where something can be done or if really has to take 10 minutes to compile. – Jeanne Boyarsky – 2011-08-21T23:54:57.940