From 21417fd7afe2269a92b3f83d5f76fce8e9bea64d Mon Sep 17 00:00:00 2001 From: Skjalf <47818697+Nyeriah@users.noreply.github.com> Date: Tue, 18 Apr 2023 12:58:44 -0300 Subject: CPP Standards: No php style brackets (#894) * CPP Standards: No curly brackets * Update docs/cpp-code-standards.md * Update docs/cpp-code-standards.md --- docs/cpp-code-standards.md | 2 ++ 1 file changed, 2 insertions(+) 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. -- cgit