diff options
| author | Skjalf <47818697+Nyeriah@users.noreply.github.com> | 2023-04-18 12:58:44 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-18 17:58:44 +0200 |
| commit | 21417fd7afe2269a92b3f83d5f76fce8e9bea64d (patch) | |
| tree | 9e2cedf7473a36190eb31a7bf63bec4f918484e7 | |
| parent | 4625307ac860148f7622874208d938070edd69da (diff) | |
| download | wiki-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
| -rw-r--r-- | docs/cpp-code-standards.md | 2 |
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. |
