On Sunday, 21 October 2018 at 03:17:23 UTC, 12345swordy wrote:
So that classes can share some of their variables but not
others in a module.
IE.
class A
{
internal int A; //This is shared in the module
private int B; // But not this.
}
No need to reintroduce the "Friend" feature from cpp.
I feel like if this is a problem your Module has too much in it
and you should refactor it into more than 1 module. If you need
to protect a module from itself then I feel like there is too
much in it, essentially.