package & protected?
Salih Dincer
salihdb at hotmail.com
Mon Oct 21 09:58:31 UTC 2024
On Monday, 21 October 2024 at 07:49:18 UTC, Manu wrote:
>
> This is a problem. We need a way to express both... what's the
> story here?
Yes. There is no such thing as hiding the facilities inside a
module from each other in D. It may seem strange when compared to
languages like C++, but it actually reveals the practical side
of D: Why shouldn't a programmer be able to access the facilities
inside a module while working in it? Who are we protecting from
whom?
SDB at 79
More information about the Digitalmars-d
mailing list