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.
(Oh, and yeah right, C++ is type safe. Casts is just some nightmare I had
the other day)

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

Reply via email to