From 3045e736eaba16ca3d89f99fd155dab54efe4506 Mon Sep 17 00:00:00 2001 From: MathuSum Mut Date: Thu, 20 Sep 2018 23:44:09 +0200 Subject: [PATCH] Improved code format spec --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e56b6349e..85edaed1b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -71,7 +71,7 @@ As we are working on code forked from another project, you may see some inconsis [The JAVA variant of K&R](https://en.wikipedia.org/wiki/Indentation_style#Variant:_Java) -Use *camelCase* for variables and function names, *CapitalCase* for classes. +Use *camelCase* for variables and function names, *CapitalCase* for classes and namespaces, and CAPS_LOCK for macros and compile-time constants. Use *tabs* for indenting. Curly braces should be at the side and parameters and conditions should be next to each other, not under each other (unless line length exceeds 80-120 characters).