How to avoid explicit ‘self’ in Python?
Python requires specifying self. The result is there’s never any confusion over what’s a member and what’s not, even without the full class definition visible. This leads to useful properties, such as: you can’t add members which accidentally shadow non-members and thereby break code. One extreme example: you can write a class without any knowledge … Read more