Finding differences will help you make sense of your code.
Differences will creep into your code as you think of new things it needs to do. It happens to all of us. And if you don’t recognize them, the differences will turn your code into a jumbled mess. There can be different ways to think about things so you have to examine your code from different viewpoints to find things that are similar and things that are different.
If this sounds confusing, don’t worry. It’s a simple concept that we learn from an early age. We’re fairly good at spotting things that are different. But how good are you at thinking of different ways that something can be similar or different? That’s an important skill you need to develop in order to become a better programmer.
Listen to the full episode for examples. And if you’d like to participate in programming sessions where I work through issues like what I described in this episode, you can become a patron of the podcast and select your reward level.