You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Src/Guidelines/1500_MaintainabilityGuidelines.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,8 @@ Don't use literal values, either numeric or strings, in your code, other than to
64
64
public class Whatever
65
65
{
66
66
public static readonly Color PapayaWhip = new Color(0xFFEFD5);
67
-
public const int MaxNumberOfWheels = 18;
67
+
public const int MaxNumberOfWheels = 18;
68
+
public const byte ReadCreateOverwriteMask = 0b0010_1100;
68
69
}
69
70
70
71
Strings intended for logging or tracing are exempt from this rule. Literals are allowed when their meaning is clear from the context, and not subject to future changes, For example:
0 commit comments