Calling private base methods

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Fri Apr 20 04:35:02 EDT 2007


In <1176995820.855309.304040 at e65g2000hsc.googlegroups.com>, Isaac
Rodriguez wrote:

> But the truth is that C++ and Java made a decision to do that for a
> reason, and the times when you have to work around those language
> features come once in a blue moon; they are the exception, not the
> rule, and you don't implement features in a language, or for that
> matter in an application, to simplify the exceptions; you try to
> implement the most common scenarios.

So the most common scenario is that programmers try to poke around all the
time in the internals of classes even if the need to do so is
very rare?  Otherwise it would not be necessary to have and use a
mechanism to declare everything private.  ;-)

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list