Oleg Broytmann <phd at oper.phd.pp.ru> wrote: >> I just wanted to point out that one of the things I *LOVE* about Python >> is that the design of name resolution in Python ensures that no >> programmer need suffer from the size of the builtin namespace. If you >> never use certain builtins, perhaps "hex" or "super", then go ahead >> and use those as identifiers in your code. Avoid only that portion of >> the builtin namespace that you feel is worth keeping. > > Doesn't work. For example, PyChecker/PyLint would report warnings. ... which can be obviously shut down if you are not a newbie and know what you are doing. I want PyChecker/PyLine to find bugs in my code and help me enforce *my* personal coding standard. I don't want them to tell me what it is "generically better" to do. The fact that there is a warning for builtin shadowing, to be used by people which such a coding standard, doesn't mean that everybody must agree with it. -- Giovanni Bajo
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4