Spelling and readability are very important for humans and not important for machines.
TL;DR: Take care of your names.
Harder to search terms in code.
Spellcheck your code.
Use an IDE with spellchecking
Many of us don't speak English as our first language.
We need to have extra care for our texts and names.
This article has a typo in its title as proof of context and also a clickbait😀
comboFeededBySupplyer = supplyer.providers();
comboFedBySupplier = supplier.providers();
- We need to read the code in a peer review.
- Some IDEs have warnings on the typos.
Pay close attention to your names.
You will probably be the person reading the code in a few months.
Inside every well-written large program is a well-written small program.
This article is part of the CodeSmell Series.