From ab274a4a22f970c9cca4e030915c2b3257d03f08 Mon Sep 17 00:00:00 2001 From: Patrick Vogler Date: Wed, 21 Jun 2023 15:17:12 +0000 Subject: [PATCH] Update 'Coding Style' --- Coding-Style.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Coding-Style.md b/Coding-Style.md index 8deccb6..938bbe7 100644 --- a/Coding-Style.md +++ b/Coding-Style.md @@ -52,6 +52,10 @@ while ((c = *str++)) hash = (hash * 33) ^ c; } ``` +Resist the urge to reindent everything, or to use an inconsisent style. Make sure that your preferred editor respects the indentation rules so your contribution is respectful of the code's customs. + +### Line Continuation + Continuation lines should align wrapped elements with the first argument (excluding reference operators) or use a hanging indent. When using a hanging indent, there should be no arguments on the first line and all subsequent "hanging" lines should be indented with 2 spaces in relation to the calling command: #### Aligned Along First Deliminator