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

Elazar elazarg at gmail.com
Tue Jan 29 10:39:25 EST 2019


בתאריך שבת, 5 בינו׳ 2019, 2:10, מאת Abe Dillon ‏<abedillon at gmail.com>

> The whole point of the all-caps globals is to tell you a lot about what
>> they are.
>
>  A lot? The only thing it canonically tells you is to not modify it
>

Wrong. It also tells it's unlikely to be modified by the code that does
declare it, which can really help when reaaoning about the code, or
debugging it, as it makes many potential sources of bugs less likely.

Elazar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20190129/811208c3/attachment-0001.html>


More information about the Python-ideas mailing list