osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

why no camelCase in PEP 8?


On 5/19/20 3:49 PM, Chris Angelico wrote:
> On Wed, May 20, 2020 at 6:38 AM Jim <jf_byrnes at comcast.net> wrote:
>>
>> On 5/19/20 1:24 PM, Chris Angelico wrote:
>>> On Wed, May 20, 2020 at 4:03 AM Schachner, Joseph
>>> <Joseph.Schachner at teledyne.com> wrote:
>>>>
>>>> And, because '_' looks sort of like a space, the individual words are more easily readable.  notEveyoneThinksReadingCamelCaseIsEasy.
>>>>
>>>
>>> Me: "What does casels mean?"
>>>
>>> *beat*
>>>
>>> Me: "Well, I guess that's the point then, isn't it."
>>>
>>> ChrisA
>>>
>>
>> Couldn't resist: Why not Chris_A :)
> 
> Heh. Actually a fair question! It's actually been my shorthand name
> for many many years, and originally I used the username "chrisa" since
> that was the email convention at the company. I later started
> uppercasing it to avoid being thought of as a "Christa" or somesuch,
> and wanted to remain compatible with the existing address, so case
> changes were all I'd do. But if I were to identify myself in a more
> Pythonic way, it would be Chris_Angelico.
> 
> Backward compatibility trumps PEP 8.
> 
> ChrisA
> 

Fair point.

Jim