Eric Jacoboni <jaco / teaser.fr> writes:

> >>>>> "Dave" == Dave Thomas <Dave / PragmaticProgrammer.com> writes:
> 
> Dave> What form would strict privacy take?
> 
> A form where strict private method would be unreachable outside the
> class, as in C++.
> 
> Refering to my previous example, the call to super should fail as it's
> an outside call.

OK, but in your example someone wrote code explicitly to bypass the
fact that it was private. Even if it couldn't be called outside the
class, your user could do the same kind of thing by simply extending
the base class.

I can see your point, however.



Dave