[cfe-dev] Should we fix Bug-43106

Sameer Sahasrabuddhe via cfe-dev cfe-dev at lists.llvm.org
Sun Apr 26 21:27:07 PDT 2020


On 2020-04-03 19:29, Ben Boeckel via cfe-dev wrote:
> On Sun, Mar 29, 2020 at 16:52:18 +0200, Anders Jensen via cfe-dev 
> wrote:
>> I do not have strong opinions about what to call the option. I 
>> followed
>> what was asked for in the ticket, but perhaps we should discuss what 
>> to
>> call the option some more. I follow the consistency argument made in 
>> the
>> description of  BUG-43106:
>> "
>> Let's call it "Camel_lower_case" for the purposes of this description. 
>> This
>> is to match the existing "Camel_Snake_Case" and "lower_case".
> 
> Maybe a bit too cheeky, but how about "Cobra_case"?
> 
>     https://i.ytimg.com/vi/tkmVQwj_NUU/maxresdefault.jpg

FWIW, I think it's a great name:
1. It avoids adding another token to the name.
2. The projected vision actually matches the shape of the identifier.
3. It also brings out the sub-class relationship between snake_case and 
Cobra_case.

Sameer.


More information about the cfe-dev mailing list