It appears many times while working with Python classes it is quite possible to get the same functionality with getMyAttr()
and setMyAtt()
methods instead of declaring the class attributes/variables such as self.myVariable
The more I work with OOP the more I tend to use class methods to get and set the attributes. I wonder if a direction I am taking is right and if I am not going to be sorry 10K lines of code later. Please advice!