4 ms·
That has been addressed in some many other ways by several languages that goes from the C++ way where you actually have namespaces to the C way where you don't
by pmelendez 13y ago
That has been addressed in some many other ways by several languages that goes from the C++ way where you actually have namespaces to the C way where you don't worry about it and pick another name. From all of them I find this the most odd way to address it, specially when python was supposed to improve legibility by design (at least for me those underscores are very distracting)
- deleted 13y ago[deleted]
- masklinn 13y agoEr... they are methods not functions. Tell me how does the C++ way namespace methods within an object?
- chilldream 13y agoThe underscores are distracting on purpose; any method surrounded by double underscores is one that you're virtually never supposed to explicitly call (there's a builtin `next(foo)` in Python 3, for instance)