On Sat, 22 Jul 2000, Vadim Vygonets wrote:
> > Only if you're writing in the wild west. In most other places, people try
> > not to shoot themselves in the foot by using undocumented APIs.
>
> Hello?
>
> Private class members have nothing to do with API _or_
> documentation. It just hides the internal structure.
What do you mean "hides"? The private class members are right there in
your face in the header file. Perhaps you mean "disallows access?" -- well
that is just a form of documentation (don't use that member). If you
simply write in the documentation "don't use that member", intellegient
programmers won't use it. And unintellegient programmers will make stupid
mistakes no matter how you try to protect them.
--
Moshe Zadka <[EMAIL PROTECTED]>
There is no GOD but Python, and HTTP is its prophet.
http://advogato.org/person/moshez
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]