Created Naming concentions (reusing spec names) (markdown)

Mamy Ratsimbazafy 2019-11-28 11:26:45 +01:00
parent 0e715a2a34
commit 4e6fb25fe8
1 changed files with 13 additions and 0 deletions

@ -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.