Dlangs inconsistent decision making and ai

ABrightLight example at example.com
Tue Sep 1 14:09:11 UTC 2026


On Sunday, 30 August 2026 at 06:20:12 UTC, Kapendev wrote:
> I had an idea like that recently on the D Discord server.
> You could make a friend list for every D module.
> A friend is allowed to modify anything, even a private field, 
> while a simple acquaintance is forced to follow the rules set 
> by the master and his friends.
>
> Example:
>
> ```d
> module std.json;
> pragma(friends, "master:serg:user1234");
> ```

I highly recommend staying away from C++'s friend design. It will 
needlessly complicate the language.


More information about the Digitalmars-d mailing list