[Mono-list] OT: C in mono

Ravi Pratap M ravi@ximian.com
01 Aug 2002 09:40:17 -0500


On Thu, 2002-08-01 at 08:48, Paolo Molaro wrote:
> On 08/01/02 Jaroslaw Kowalski wrote:
> > I assume there must be some sort of C coding style that you're all
> > following. I don't mean indentation style, but rather a common way to
> > express higher level constructs like classes, virtual functions, exceptions,
> > allocating and freeing memory, namespaces. Where can I download such a
> > guide?
> 
> Most of that kind of coding style derives from the "common wisdom" of
> people that worked on (or read the code of) the linux kernel and the 
> glib/gtk/gnome libraries.
> Some bits about it have been written, mostly in some mailing-list post,
> but there is no guide, AFAIK.

	How about the GNOME Programming Guidelines ? It is pretty much what we
use but adapted to C# :-) Take a look at mcs's coding style to see what
we prefer.



	Regards,

		Ravi