[Mono-list] Style

Jeroen Frijters mono@jeroen.nu
Fri, 1 Mar 2002 17:30:07 +0100


Since argument names persist in the metadata and can be used from some
languages (e.g. VB.NET). I think it would be a good idea to use the same
argument names as Microsoft.

Regards,
Jeroen

> -----Original Message-----
> From: mono-list-admin@ximian.com 
> [mailto:mono-list-admin@ximian.com] On Behalf Of Miguel de Icaza
> Sent: Friday, March 01, 2002 16:55
> To: Dan Lewis
> Cc: Mono-List
> Subject: Re: [Mono-list] Style
> 
> 
> > Just a point here on the Microsoft API. While I really 
> appreciate the rigor
> > with which they imposed the Pascal casing and naming 
> conventions to the
> > methods, properties and class names, their argument names 
> suck. I've seen a
> > mixture of UNIX style vryshrtargnms, Hungarian style lpArgumntNames,
> > verbosesamecasestyle, javaStyleCamelCaseArguments, and 
> maybe even a few
> > underlines thrown in there for good measure. This is one 
> point where I would
> > not like to follow the MS docs, and perhaps we could 
> standardise on something
> > here (maybe camel or underline, please not hungarian ;), 
> seeing as argument
> > names are meant to be somewhat descriptive.
> 
> Very good point, I had noticed this, but not paid enough attention.   
> 
> I do not care about going with camel or underline modes, either are
> fine, I have seen a lot of camel style for the arguments, 
> lets just use
> this. 
> 
> > It saves 5 lines, but perhaps you feel it's just plain ugly :)
> 
> I swing back and forth with that particular style.  I think it makes
> sense to have the "short" version of the properties as well.
> 
> Miguel.
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>