TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
C# Coding Standard
Search

Rule:  3@204Checked automatically with code checker

Synopsis:Do not use letters that can be mistaken for digits, and vice versa
Language:C#
Severity Level:7
Category:Naming


Description:

To create obfuscated code, use very short, meaningless names formed from the letters O, o, l, I and the digits 0 and 1. Anyone reading code like

bool b001 = (lo == l0) ? (I1 == 11) : (lOl != 101);

will wonder what this means.