Dnia January 5, 2019 12:09:44 AM UTC, Abe Dillon <abedil...@gmail.com> 
napisał(a):

>> 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

It also tells anyone, who is browsing a code, which values come from a spec of 
some kind (e.g. network protocols, file formats etc.)

> which is my default assumption with any variable I didn't declare myself 

It has been quite some time since I have learnt to avoid arguments like "I can 
do it, can everynoe else", because they are false.

I like ALL_CAPS and other typographic clues, because I do a lot of integration 
work and I don't use IDE to browse every file I need to read.

-- 
Łukasz Stelmach z podróży
_______________________________________________
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