Sealed classes - would you want them in D? (v2)
12345swordy
alexanderheistermann at gmail.com
Mon May 21 17:43:30 UTC 2018
On Monday, 21 May 2018 at 15:30:40 UTC, Gheorghe Gabriel wrote:
> On Monday, 21 May 2018 at 15:07:39 UTC, KingJoffrey wrote:
>> My suggestions are about resolving this, in order to attract
>> more programmers to D, because I doubt I'm the only person in
>> the world, that believes an object has a right to privacy.
>
> Of course you are not the only person that believes that.
> To have full private access in module scope is like you live in
> a building and there are no walls between apartments.
If you put multiple classes in a single module, yeah it feels
like it, that why people here recommend one class per module.
More information about the Digitalmars-d
mailing list