Improved code format spec

This commit is contained in:
MathuSum Mut
2018-09-20 23:44:09 +02:00
committed by GitHub
parent a6f217f7c3
commit 3045e736ea

View File

@@ -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) [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 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 conditions should be next to each other, not under each other (unless line length
exceeds 80-120 characters). exceeds 80-120 characters).