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

File: [Pegasus] / pegasus / doc / Attic / CodeReviewNotes.txt (download)
Revision: 1.7, Tue Dec 25 04:45:05 2001 UTC (22 years, 4 months ago) by mike
Branch: MAIN
Changes since 1.6: +3 -3 lines
new



    1.	Indent four spaces (not three and not tabs).

    2.	Literals used (other than 0 or 1).

    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).

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2