Hello,

> Has anyone published any documentation on what coding standards Mono
> source should follow?  I am mainly concerned about the use of
> Hungarian notation and the placement of brackets in the source.  There
> are a lot of inconsistencies in the CVS source I’ve inspected.

Some other people have already pointed you to the Mono coding styles in
/mcs/class/README.  It covers the braces.

We despise hungarian notation, please avoid it.  If somebody has used
that, we will clean it up some day (the reason being: we need the CVS
history more than changing the format, so we rather preserve CVS history
now than changing the code).

We prefer internal variable names to use:

        class MyClass {
                string my_var;
                int my_other_var;

                string MyVar {
                        get { return my_var; } 
                }
        }

Miguel
_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to