Constants may use CamelCase.
This commit is contained in:
parent
14bea2cf3c
commit
a68b81475a
|
@ -58,9 +58,11 @@ convention. Such style remains in place purely for legacy reasons, and will
|
||||||
be changed in the future.
|
be changed in the future.
|
||||||
|
|
||||||
- Type identifiers should be in CamelCase. All other identifiers should be in
|
- Type identifiers should be in CamelCase. All other identifiers should be in
|
||||||
pascalCase.
|
pascalCase with the exception of constants which **may** use CamelCase but
|
||||||
|
are not required to.
|
||||||
```nimrod
|
```nimrod
|
||||||
const aConstant = 42
|
const aConstant = 42
|
||||||
|
const FOO_BAR = 4.2
|
||||||
|
|
||||||
var aVariable = "Meep"
|
var aVariable = "Meep"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue