General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
TheEvertw
ArjanCodes
comments
Comments by "TheEvertw" (@TheEvertw) on "Avoid These BAD Practices in Python OOP" video.
In some languages, you ALWAYS create getters and setters for data members, because of the pain that will be incurred when you change the underlying data structures and / or add algorithms. In Python, this is absolutely not necessary. If at some point you decide that accessing an attribute needs to be replaced with a function call, in Python you can make the attribute a `property`.
1