Quoth Moshe Zadka on Fri, Jul 21, 2000:
> On Fri, 21 Jul 2000, Ilya Khayutin wrote:
> 
> > There is a big diffrence between a C++
> > class and a C struct: PRIVELEGE CONTROL!! In C
> > everyone can directly intefere with any variable in
> > the program, same with gtk+ which written in C. In C++
> > I can make some variable in a class private or
> > protected, and only the methods of this class will be
> > able to intefere with it. It makes the code MUCH less
> > buggy.
> 
> 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.

Vadik.

-- 
Strange Fruit.  A brilliant way to describe
somebody hanging from a tree...
        -- Marcus Miller

=================================================================
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]

Reply via email to