Re:The Sororicide Antipattern
by porpoisemonkey on Thursday June 01, 2017 @03:50PM
(#14463865)
> But isn't the whole point of inheritance in python precisely because the namespaces collide?
I think the point from the original post is that a collision of the private namespaces of the parent and child class is a bad thing. Hence the calling out of underscore in the variable names to indicate the values should be considered private.
I think the point from the original post is that a collision of the private namespaces of the parent and child class is a bad thing. Hence the calling out of underscore in the variable names to indicate the values should be considered private.