Very hacky solution to class private members

forkit forkit at gmail.com
Thu Jun 9 12:13:36 UTC 2022


On Thursday, 9 June 2022 at 10:39:17 UTC, Dom Disc wrote:
> ....
> Jup. But new privacy-levels are no solution to them.
> ..

Authorisation and access control, are integral to OOP. Always has 
been, always will be.

Any 'new' privacy-level, would only be 'new' to D ;-)

C++ had the 'friend' issue.

D solved that. Horray! Let's just make everyone 'forever' friends.

Now D has the 'unfriend' issue.



More information about the Digitalmars-d mailing list