Re:Python Black Magic
by sam191 on Friday November 19, 2010 @12:10PM
(#1921933)
I may not be the most qualified person to answer this, but I always thought private methods and variables were for internal use inside of a class while the public methods were what one would actually call with their objects. For example your object had a method foo() which would be better defined as smaller methods which are combined together. Those smaller functions serve no other purpose and therefore do not need to be called by the object directly.
[ Parent
| on HN ]
There are no comments on this comment yet.