Jan-11-2019, 10:37 AM
- +1 for not writing getters and setters.
- Use properties if you need them.
- Create attributes with a single leading underscore such as
_spam
to indicate that code exploiting your library should not use this attribute directly.
__eggs
, but some python programmers use it now and then.