NL.19:避免容易被误读的名称
Readability. Not everyone has screens and printers that make it easy to distinguish all characters. We easily confuse similarly spelled and slightly misspelled words.
可读性。并非每个人都在使用可以轻松区分所有字符的屏幕和打印机。我们很容易混淆类似拼写和稍微拼错的单词。
Example(示例)
int oO01lL = 6; // bad
int splunk = 7;
int splonk = 8; // bad: splunk and splonk are easily confused
???
原文链接
https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#nl19-avoid-names-that-are-easily-misread