X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2FCodingGuidelines;h=d2a0a76e6cfb275080f3b66309591888f5302850;hb=c30e699fc509f43f459c17d3148e7d866fb9157a;hp=994eb9159a2b0e8a10f4f9510165d420004203bf;hpb=7ab9f8f8b12853d4cb0e45031bf2ee9a0517ad22;p=git.git diff --git a/Documentation/CodingGuidelines b/Documentation/CodingGuidelines index 994eb9159..d2a0a76e6 100644 --- a/Documentation/CodingGuidelines +++ b/Documentation/CodingGuidelines @@ -89,6 +89,8 @@ For C programs: of "else if" statements, it can make sense to add braces to single line blocks. + - We try to avoid assignments inside if(). + - Try to make your code understandable. You may put comments in, but comments invariably tend to stale out when the code they were describing changes. Often splitting a function