> To ensure developers are context-switching, recompilation should take at least 20 seconds. I'm now wondering what languages and projects the author has worked on if they expect compilation to take less than 20 seconds. Maybe small-ish golang projects? I don't remember the last time I worked on something interesting where recompilation was always under a minute...
IIRC, C family compilers suffer from some problem with headers that makes compile time much longer than it should.
Edit: oh, and that was rebuilding the whole program from scratch, including all libraries. A little change in the current file was les than one sec. Native code, in case you're wondering.