Adding a new design constraint to D

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Thu Jun 16 12:35:13 UTC 2022


On Thursday, 16 June 2022 at 12:27:43 UTC, Max Samukha wrote:
> On Thursday, 16 June 2022 at 10:41:03 UTC, Ola Fosheim Grøstad 
> wrote:
>
>>> Module-private already doesn't play well with other D 
>>> features ('invariant()', 'synchronized')
>>
>> In what way are they affected?
>
> They assume encapsulation is at the class level.

Yes, but they also assume full encapsulation "Smalltalk style".



More information about the Digitalmars-d mailing list