[Python-ideas] AMEND PEP-8 TO DISCOURAGE ALL CAPS

Chris Angelico rosuav at gmail.com
Fri Jan 4 18:15:06 EST 2019


On Sat, Jan 5, 2019 at 10:10 AM Abe Dillon <abedillon at gmail.com> wrote:
>>
>> So you're saying we should prefer a future where it's an inconsistent mess?
>
> No. And please don't straw man. It's a very annoying argumentative tactic. I prefer a future where all caps aren't used. I understand that the change I propose won't magically transport us there, but I don't think it justifies encouraging all caps. As it is, the mix of all caps, camel-case, and snake-case IS and inconsistent and visual mess. Discouraging all caps will only result in a diminishing occurrence of all caps.
>
>> it's.more important to have a standard than what that standard is. And we do have a strong standard today.
>
> I understand that there's a barrier to change, but there's also a circular logic to resisting change because adhering to a standard is good.
>
> How bad would it really be to remove the line about constants being all caps from PEP-8?

How do you propose, instead, for the constantness of something to be indicated?

ChrisA


More information about the Python-ideas mailing list