https://data-driven-world.github.io/2023/notes/oop/oop/
On the other hand, one can also use double leading underscores. This allows Name Mangling that prevents accidental overloading of methods and name conflicts when you inherit a class.
The link is actually telling us not to use double _ by default, and DDW never covers any cases where we should use it. I would prefer to remove it as it might be confusing.
https://data-driven-world.github.io/2023/notes/oop/oop/
The link is actually telling us not to use double _ by default, and DDW never covers any cases where we should use it. I would prefer to remove it as it might be confusing.