בתאריך שבת, 5 בינו׳ 2019, 2:10, מאת Abe Dillon ‏<abedil...@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
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to