When I'm developing, I like to jump back and forth between doing 2 (or more) things at the same time, even if those things are unrelated. I am able to get my mind focused very quickly, so "warm up" time isn't a concern for me. The reason I like to jump between two tasks is that I often find that I can solve problems faster that way.
The downside to this is that I end up completing the two tasks at the same time, and when Code Review comes around, I find myself having to explain two separate ideas to the reviewer. Also, the reviewer must view more code each time I ask for a review than if I were to do one task at a time.
Do you have any suggestions for helping me maintain my preference of jumping between tasks while making it easier on the reviewer?
Some options I've thought of so far are:
- Make intermediate check-ins, even if the functionality is incomplete. (tracer bullet code)
- Try to work on tasks that have a clear separation of source files, so that code can be delivered independently.