From fac9919926c012d614f473784d863e5db1c3e1bf Mon Sep 17 00:00:00 2001 From: nishk1997 <44312317+nishk1997@users.noreply.github.com> Date: Mon, 3 Dec 2018 02:58:40 +0530 Subject: [PATCH] Use of proper indendation (#24024) --- guide/english/cplusplus/clean-code-guidelines/index.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/guide/english/cplusplus/clean-code-guidelines/index.md b/guide/english/cplusplus/clean-code-guidelines/index.md index 8dd9152095..2fe6fbfb67 100644 --- a/guide/english/cplusplus/clean-code-guidelines/index.md +++ b/guide/english/cplusplus/clean-code-guidelines/index.md @@ -106,8 +106,12 @@ for (int i = 1; i <= 5; i++) * #### Use const, pass by value/reference when suitable. This will help with saving memory. +* #### Use proper indentations, so that it is easy to read and debug the code, for you, as well as for others. + * #### Write const in caps, datatypes starting with T and variables in lower case. + + ```cpp const int MAX= 100; //Constant typedef int TVector[MAX]; //Data type