Tag: OOP
All the articles with the tag "OOP".
-
Pythonic Encapsulation: The Power of @property
Why Python doesn't use Java-style getters and setters, and how to use the @property decorator for validation.
All the articles with the tag "OOP".
Why Python doesn't use Java-style getters and setters, and how to use the @property decorator for validation.