[Mono-list] Style
Gaurav Vaish
gvaish@iitk.ac.in
Sun, 3 Mar 2002 09:29:26 +0530
----- Original Message -----
From: "Dominic Cooney" <dominic@dcooney.com>
To: <mono-list@ximian.com>
Sent: Sunday, March 03, 2002 07:34
Subject: Re: [Mono-list] Style
: I realize you are concerned about braces on if/elses, but where returns
: are concerned, I don't think you should forget about ?:, thus:
If it's not with return thing, as you wrote below, it would be:
x = (check ? one : two);
for the return case:
get
{
return ( what ? this : that );
}
:
: namespace Viash.Guarav.Namespace
: {
: public class GuaravViash
Grrrhhh! You screwed up my name... ;-)
It's Gaurav Vaish and not Guarav Viash... (frowning)
: Is there a canonical style document yet? I am very curious about this
: obj.meth<space>() for invocations...
Well, personally, I don't favour that. someMethod(arglist args) is what I
like.
Cheers,
Gaurav Vaish
http://home.iitk.ac.in/student/gvaish
http://calendar.yahoo.com/mastergaurav
---------------------------------
:
:
:
: _______________________________________________
: Mono-list maillist - Mono-list@ximian.com
: http://lists.ximian.com/mailman/listinfo/mono-list