(file) Return to CodeReviewNotes.txt CVS log (file) (dir) Up to [Pegasus] / pegasus / doc / Attic

Diff for /pegasus/doc/Attic/CodeReviewNotes.txt between version 1.1 and 1.7

version 1.1, 2001/12/22 00:45:38 version 1.7, 2001/12/25 04:45:05
Line 1 
Line 1 
  
  
     1.  The indentation standard is four.      1.  Indent four spaces (not three and not tabs).
  
     2.  Literals used (other than 0 or 1).     2.  Literals used (other than 0 or 1).
  
     3.  NULL used in several places.     3.  NULL used in several places.
   
       4.  Put braces on their own lines like this:
   
               if (condition)
               {
   
               }
   
           Avoid this style:
   
               if (condition) {
   
               }
   
       5.  Makedepend utility was made the default depend
           utility on some platforms. The deafault should be
           "mu depend".
   
       6.  Regression tests should only print this:
   
               "+++++ passed all tests"
   
           Extraneous output should be removed.
   
       7.  All defined constants must begin with "PEGASUS_".
   
       8.  All method must use the form myMethodName(). Many places
           have my_method_name() (with underscores).
   
       9.  Avoid use of (void). Use () instead.
   
       10. Either get rid of throw() declarations or use them
           everywhere (perhaps they are not supported by some compilers).
   
       11. Avoid indenting "private:", "public:" and "protected". Use this
           style:
   
               class X
               {
               private:
                   ...
               public:
               };
   
       12. Use "Type* x" rather than "Type *x".
   
       13. Use "if (" rather than "if(".
   
       14. Avoid use of spaces around the condition:
   
               if( cond )
   
       15. Changed "Permisyion" to "Permission"
   
       16. Keep all lines within 80 columns.
   
       17. Build fails on many Linux system (threading support problems).
   
       18. SSL is the default on Linux (is this okay?).
   
       19. Fix main logic (Unix v.s. Windows).


Legend:
Removed from v.1.1  
changed lines
  Added in v.1.7

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2