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!
Focus is not usually the problem here. It's actually context-switch.
Avoid any task that has high context-switch cost.
Go for a walk.
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!