Created Naming concentions (reusing spec names) (markdown)
parent
0e715a2a34
commit
4e6fb25fe8
|
@ -0,0 +1,13 @@
|
||||||
|
### Naming convention
|
||||||
|
|
||||||
|
Ethereum Foundation uses:
|
||||||
|
- snake_case for fields and procedure names
|
||||||
|
- MACRO_CASE for constants
|
||||||
|
- PascalCase for types
|
||||||
|
|
||||||
|
Nim NEP-1 recommends:
|
||||||
|
- camelCase for fields and procedure names
|
||||||
|
- PascalCase for constants
|
||||||
|
- PascalCase for types
|
||||||
|
|
||||||
|
To facilitate collaboration and comparison, nim-beacon-chain uses the Ethereum Foundation convention.
|
Loading…
Reference in New Issue