Re: some comments about our C++ code...

Subject: Re: some comments about our C++ code...
Date: Mon Apr 16 2001 - 03:15:25 CDT

>>>>> "Joaquín" == Joaquín Cuenca Abela <> writes:

Joaquín> Joaquín Cuenca Abela wrote:
>> These that still think that having protected: or public: variables
>> is a good idea, please ask yourself: why are public:, protected: &
>> private: sections? why can I have all that in a public: section?
>> The trick here is that it seems handy to have something more
>> visible than it should be. When you're writting it you think: if I
>> left it protected instead of private I'm not hurting anybody and
>> this way it can be accessed by my inherited classes... maybe they
>> will need it.

Joaquín> Even I have a hard time reading that...

Joaquín> motto: don't write emails in pseudo-english at 3h AM.

I found it a rather good read, actually. Thanks!


This archive was generated by hypermail 2b25 : Mon Apr 16 2001 - 03:16:42 CDT