summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSkjalf <47818697+Nyeriah@users.noreply.github.com>2023-04-18 12:58:44 -0300
committerGitHub <noreply@github.com>2023-04-18 17:58:44 +0200
commit21417fd7afe2269a92b3f83d5f76fce8e9bea64d (patch)
tree9e2cedf7473a36190eb31a7bf63bec4f918484e7 /docs
parent4625307ac860148f7622874208d938070edd69da (diff)
downloadwiki-21417fd7afe2269a92b3f83d5f76fce8e9bea64d.tar.gz
wiki-21417fd7afe2269a92b3f83d5f76fce8e9bea64d.tar.bz2
wiki-21417fd7afe2269a92b3f83d5f76fce8e9bea64d.zip
CPP Standards: No php style brackets (#894)
* CPP Standards: No curly brackets * Update docs/cpp-code-standards.md * Update docs/cpp-code-standards.md
Diffstat (limited to 'docs')
-rw-r--r--docs/cpp-code-standards.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/cpp-code-standards.md b/docs/cpp-code-standards.md
index 2b2bc70..6c9296f 100644
--- a/docs/cpp-code-standards.md
+++ b/docs/cpp-code-standards.md
@@ -82,6 +82,8 @@ else
}
```
+**Please note that brackets should always start on a new line, as displayed in the example above.**
+
### Random numbers vs. Constants
Constants makes the code easier to read and understand, they also provide a safe guard and prevents numbers from being hard-coded.