Very hacky solution to class private members

bauss jj_1337 at live.dk
Thu Jun 9 13:10:53 UTC 2022


On Thursday, 9 June 2022 at 12:13:36 UTC, forkit wrote:
> 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.

D could really solve both problems, but people are too ignorant 
and live under some kind of Stockholm syndrome around here.

D will never be taken serious unless it appeals to more people 
and not just a small niché of failed C++ programmers.


More information about the Digitalmars-d mailing list