how to make private class member private

psychoticRabbit meagain at meagain.com
Tue Mar 13 11:26:57 UTC 2018


On Tuesday, 13 March 2018 at 08:44:48 UTC, Mike Parker wrote:
> Moreover, it restricts friends to the same module, easing the 
> maintenance burden and decreasing the chance of error. It was a 
> great decision.

But, a module can contain so many 'friends'.

Q. How many 'friends' does it take, before you lose the capacity 
to reason about who really is a friend?



More information about the Digitalmars-d-learn mailing list