From 4e6fb25fe80fad0a51d521456dbc88cb2b8ee545 Mon Sep 17 00:00:00 2001 From: Mamy Ratsimbazafy Date: Thu, 28 Nov 2019 11:26:45 +0100 Subject: [PATCH] Created Naming concentions (reusing spec names) (markdown) --- Naming-concentions-(reusing-spec-names).md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Naming-concentions-(reusing-spec-names).md diff --git a/Naming-concentions-(reusing-spec-names).md b/Naming-concentions-(reusing-spec-names).md new file mode 100644 index 0000000..1af0cf4 --- /dev/null +++ b/Naming-concentions-(reusing-spec-names).md @@ -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. \ No newline at end of file