Re: C# convention
- From: Jon Skeet [C# MVP] <skeet@xxxxxxxxx>
- Date: Wed, 5 Oct 2005 22:26:04 +0100
John Salerno <johnjsal@xxxxxxxxxxxxxxx> wrote:
> > But where does "the" come in here? There are lots of different C#
> > conventions available to pick and choose from - which does the author
> > mean?
>
> Oh, I see what you mean. They meant that the C# convention for using
> braces after methods, control statements, etc. I think that's specific.
No it's not. There *is* no one specific C# convention. The closest
thing to it is the MS guidelines for developers and the naming
guidelines in the ECMA spec, and those don't cover bracing as far as I
can see. The C# spec uses K&R bracing (in the bit I just looked at,
anyway) but I can't see it actually being recommended.
Clearly *someone* must be stating this as *a* convention, but the
question is who.
--
Jon Skeet - <skeet@xxxxxxxxx>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
.
- Follow-Ups:
- Re: C# convention
- From: John Salerno
- Re: C# convention
- References:
- C# convention
- From: John Salerno
- Re: C# convention
- From: John Salerno
- Re: C# convention
- From: Jon Skeet [C# MVP]
- Re: C# convention
- From: John Salerno
- C# convention
- Prev by Date: Re: accessing a field of another class within same namespace
- Next by Date: Re: Console app to exit itself?
- Previous by thread: Re: C# convention
- Next by thread: Re: C# convention
- Index(es):
Relevant Pages
|