Rubber duck debugging
Explaining code to a rubber duck often reveals bugs better than thinking alone. Rubber duck debugging is a way to find errors in computer code. A programmer talks through their code step by step, either to a rubber duck or another person. The simple act of explaining what the code should do often makes mistakes become obvious.
Adapted from Wikipedia: https://en.wikipedia.org/wiki/Rubber_duck_debugging