CURL review request

Jacob Carlborg doob at me.com
Wed Aug 17 00:01:02 PDT 2011


On 2011-08-16 22:01, Jonathan M Davis wrote:
> On Tuesday, August 16, 2011 18:47:44 Jacob Carlborg wrote:
>> BTW, do we have style guides for abbreviations like this?
>
> No. The style guide says camelcase, but it doesn't specify how to deal with
> abbreviations. Personally, I think that it should be dealt with on a case by
> case basis, since what works best depends on the abbreviation, but in general,
> I prefer all caps.
>
> - Jonathan M Davis

There's also the question when having abbreviations in a method name:

sendToHTTP

or

sendToHttp

In general think abbreviations should be avoided except when the 
abbreviation is better known, e.g. HTTP, FTP and so on. I like camlecase 
better than all caps both for class names and method names.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list