diff --git a/cppguide.xml b/cppguide.xml index 2ef0f43..c02ce0b 100644 --- a/cppguide.xml +++ b/cppguide.xml @@ -4,7 +4,7 @@
-Revision 3.171 +Revision 3.174
@@ -3151,12 +3151,12 @@ Tashana LandrayEach function definition should have a comment describing - what the function does and anything tricky about how it does + what the function does if there's anything tricky about how it does its job. For example, in the definition comment you might describe any coding tricks you use, give an overview of the steps you go through, or explain why you chose to implement @@ -4356,9 +4356,10 @@ Tashana Landray
This is more a principle than a rule: don't use blank lines when you don't have to. In particular, don't put more than - one or two blank lines between functions, don't start or end - functions with a blank line, and be discriminating with your - use of blank lines inside functions. + one or two blank lines between functions, resist starting + functions with a blank line, don't end functions with a blank + line, and be discriminating with your use of blank lines + inside functions.
The basic principle is: The more code that fits on one screen, @@ -4369,39 +4370,16 @@ Tashana Landray whitespace.
- Don't start or end functions with blank lines:
-
- Don't start and end blocks with blank lines either:
-
-Revision 3.171 +Revision 3.174
diff --git a/javascriptguide.xml b/javascriptguide.xml index 2f839cd..f27555d 100644 --- a/javascriptguide.xml +++ b/javascriptguide.xml @@ -3,7 +3,7 @@- Revision 2.3 + Revision 2.9
@@ -173,6 +173,32 @@