You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i.e., just have an undeclared private field, while declaring a public "field" that's really implemented as a property. This will clean up the API a bit.
The text was updated successfully, but these errors were encountered:
When I wrote fields such as
Domain._name
, I didn't realize this was a way to handle running code on field access:https://python-course.eu/oop/properties-vs-getters-and-setters.php
i.e., just have an undeclared private field, while declaring a public "field" that's really implemented as a property. This will clean up the API a bit.
The text was updated successfully, but these errors were encountered: