We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19b5a5f commit e7401a2Copy full SHA for e7401a2
1 file changed
content/programming-guides/style.md
@@ -150,6 +150,10 @@ and should be distinct from any of the semantic values you expect to be
150
explicitly set. For more information on the unspecified enum value, see
151
[the Proto Best Practices page](/best-practices/dos-donts#unspecified-enum).
152
153
+Assign the number used for each value densely and sequentially increasing. Gaps
154
+in numbering should only occur when a previously used enum value is removed.
155
+Avoid using negative values.
156
+
157
#### Enum Value Prefixing {#enum-value-prefixing}
158
159
Enum values are semantically considered to not be scoped by their containing
0 commit comments