On 06-Jul-2001 Lars Gullik Bjønnes wrote:

> No... accessor methods.
> 
> I will probably put that down as a coding rule later: "Class variables
> shall always be private."

I still think that class variables should be accessible *inside* a Class.
I understand that they shouldn't be accessible from outside, therefore I
put them there protected and not public!

But whatever if you put it in the coding rules and other people knowing
more of "Modern C++" then me are also of your opinion then, so be it!

        Jürgen

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen Vigna        E-Mail:  [EMAIL PROTECTED]
Italienallee 13/N       Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39100 Bozen           Web:     http://www.sad.it/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Some men love truth so much that they seem to be in continual fear
lest she should catch a cold on overexposure.
                -- Samuel Butler

Reply via email to