In the last live weekend programming class, I created a variable called scrambledWord and then later created a method called scrambleWord.

The method was a good name. It started with a verb and described exactly what it did.

And the name of the variable was good too. It described a word that had been scrambled.

But there was confusion when the variable and the method were used together.

The reason is because it’s very easy to miss the single extra letter d in scrambledWord.

This episode gives you some guidance for avoiding names that are too similar.