B
bruno at modulix
Yep, so you want to encapsulate the functionality that those methods
provide,
which is the whole point of building them in a class in the
first place. And you want them to be private to the class so that they
do not form part of the classes public/external interface.
In python, as discussed earlier, you can make them semi-private by
using the '__method_name'
Blair, please, don't give bad advices. The 'double-leading-underscore'
stuff has some side-effects (name-mangling), and is meant to protect an
attribute from accidental overloading. The convention for 'protected'
attributes (which should really be named 'implementation attributes') is
a *single* leading underscore.