Subject: Re: some comments about our C++ code...
From: Joaquín Cuenca Abela (cuenca@celium.net)
Date: Sun Apr 15 2001 - 19:55:30 CDT
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.
Even I have a hard time reading that...
motto: don't write emails in pseudo-english at 3h AM.
Cheers,
-- Joaquín Cuenca Abela cuenca@celium.net
This archive was generated by hypermail 2b25 : Sun Apr 15 2001 - 19:55:40 CDT