Change One Thing at a TimeΒΆ

In science, the best experiments vary one input at a time so as to directly observe the relationship between input and output without the influence of other factors to obfuscate or confuse the results.

Debugging is similar with trying the find a bug, one should only vary one aspect of the system at a time to understand its relationship to the problem. Varying multiple aspects can result in you chasing your tail.

Here are some tips on how to vary just one thing at a time.

  • The git Reset module outlines how to remove changes so you can re-apply a single change.