I prefer mostly the C# style 
(http://msdn.microsoft.com/en-us/library/ms229043.aspx) but _without_ the 
stupid special case> A special case is made for two-letter acronyms in which 
both letters are capitalized, as shown in the following identifier:IOStream
It would be weird to allow for both IoStream and IOStream for example.
There are 2 reasons I prefer the .NET style.1) I bind shift to crouch in games 
and it is well worn, so holding it down for HTTP kind of sucks.2) I sometimes 
have trouble when there are multiple accronyms:HTTPOGCWFSService vs 
HttpOgcWgsService
I don't care what looks better. I just simply have no idea what a helpful 
tongue twisting potato on good conditional wind farm subsidies service is.

> From: [email protected]
> Date: Fri, 2 Aug 2013 18:42:59 -0700
> To: [email protected]
> CC: [email protected]
> Subject: Re: [rust-dev] Java versus .NET style for acronyms in type names
> 
> Java style. My eyeballs like it better and it 'flows' better visually. The 
> .net humps look ugly. 
> 
> -- my 2ยข
> 
> Regards, 
> Paul Nathan
> 
> Sent from my iPhone
> 
> On Aug 2, 2013, at 6:28 PM, Patrick Walton <[email protected]> wrote:
> 
> > Hi everyone,
> > 
> > Brendan Eich emailed me expressing a preference for `GC<>` over `Gc<>`. I 
> > think now is as good a time as any to have the bikeshedding debate :)
> > 
> > I've noticed two styles for acronyms in type names: Java style (HTTPServer) 
> > versus .NET style (HttpServer). Currently we are usually using .NET style, 
> > but inconsistently (e.g. ARC). We never really decided.
> > 
> > Here are a few examples of types in each style:
> > 
> > * Java style: GC<Foo>, ARC<int>, SimpleHTTPServer, XMLHTTPRequest.
> > 
> > * .NET style: Gc<Foo>, Arc<int>, SimpleHttpServer, XmlHttpRequest.
> > 
> > I slightly prefer Java style myself because I think "GC" looks better than 
> > "Gc", because Web APIs use Java style, and because Python does (e.g. 
> > SimpleHTTPServer) and in general we've been following PEP 8. But I don't 
> > feel strongly on this issue.
> > 
> > Thoughts/straw poll?
> > 
> > Patrick
> > _______________________________________________
> > Rust-dev mailing list
> > [email protected]
> > https://mail.mozilla.org/listinfo/rust-dev
> > 
> 
> _______________________________________________
> Rust-dev mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/rust-dev
                                          
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to