File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -348,6 +348,9 @@ redirect_from:
348
348
<BAD_CODE_SNIPPET >
349
349
if (1 == x) {
350
350
</BAD_CODE_SNIPPET >
351
+ <CODE_SNIPPET >
352
+ if (x == 1) { //use this order
353
+ </CODE_SNIPPET >
351
354
<BAD_CODE_SNIPPET >
352
355
if ((x = f()) && (y = g())) {
353
356
</BAD_CODE_SNIPPET >
@@ -785,7 +788,7 @@ redirect_from:
785
788
Every file should have a comment at the top describing its contents.
786
789
</p >
787
790
<p >
788
- Generally a <code >.h</code > file will describe the variabels and
791
+ Generally a <code >.h</code > file will describe the variables and
789
792
functions
790
793
that are declared in the file with an overview of what they
791
794
are for and how they are used. A <code >.c</code > file
@@ -1666,7 +1669,7 @@ redirect_from:
1666
1669
the easier it is to follow and understand the control flow of
1667
1670
the program. Of course, readability can suffer from code
1668
1671
being too dense as well as too spread out, so use your
1669
- judgement . But in general, minimize use of vertical
1672
+ judgment . But in general, minimize use of vertical
1670
1673
whitespace.
1671
1674
</p >
1672
1675
</BODY >
You can’t perform that action at this time.
0 commit comments