Preparing for the New DIP Process
zjh
fqbqrr at 163.com
Sun Jan 21 11:51:59 UTC 2024
On Sunday, 21 January 2024 at 11:46:42 UTC, Dom DiSc wrote:
>
> It would be ok for me to add `class-private` as is, but only
> with the guarantee that `friend`s will never be added, no
> matter how much the people using it cry, because it is
> sometimes unusable without them.
When you need `friend`, You can put them all in one module.
Sometimes, when `multiple classes` are closely related and
independent, `class level privacy` becomes very important. No one
wants , someone from outside may secretly steal money from your
home.
More information about the Digitalmars-d-announce
mailing list