Adding a new design constraint to D

Zoadian no at no.no
Wed Jun 15 11:26:35 UTC 2022


On Wednesday, 15 June 2022 at 06:55:35 UTC, Dom Disc wrote:
> On Tuesday, 14 June 2022 at 22:08:31 UTC, Zoadian wrote:
>> [...]
>
> It would become even more ugly if there are multiple private 
> variables, because in that case you would need to put each of 
> them in its own sub-class with its own set of friends.
>
> [...]

please provide a real world example where this feature would be 
used, and there is no better option to structure your code.


More information about the Digitalmars-d mailing list