Jose' Matos wrote:

>   Suppose you later change the implementation and not the interface. That
>   is
> not possible with a public data member.

Possibly, but you still have limitations (return a reference). In that case
I would expect an "int foo()" and an "void foo(int)" accessors.

>   And don't tell me we don't ue to change the implementation details, I
> would laugh in your face. (Finally an oportunity to throw a white glove on
> a friday).

<flame deflector>
Oh, the policy seems to be to never change implementation details, just the
interface.

Alfredo

PS: I won't close the tag.


Reply via email to