|Language design: exposed and read only... firstname.lastname@example.org (n!) (2002-10-13)|
|Re: Language design: exposed and read only... email@example.com (2002-10-18)|
|Date:||18 Oct 2002 23:26:08 -0400|
|Posted-Date:||18 Oct 2002 23:26:08 EDT|
On Sun, 13 Oct 2002 20:35:54 UTC, "n!" <firstname.lastname@example.org> wrote:
> [In my new langugage] one thing I've
> been thinking about is access privilege levels for class members.
> I was thinking along the lines of the following:
> private access, members are not accessible from anything outside of its
> owning object. This includes objects of the same type. So for example:
Yes, but is it useful? After all, the implementor can/would always
change it to suite the implementation. It would be just another
bothersome detail with little to gain for it.
Return to the
Search the comp.compilers archives again.