`restricted` member variables

max haughton maxhaton at gmail.com
Wed Jun 22 22:47:11 UTC 2022


On Wednesday, 22 June 2022 at 21:30:07 UTC, forkit wrote:
> On Wednesday, 22 June 2022 at 16:16:59 UTC, Dennis wrote:
>> On Wednesday, 22 June 2022 at 08:01:12 UTC, forkit wrote:
>>> [...]
>>
>> Here you go: https://github.com/dlang/dmd/pull/14238
>
> +1
>
> ballsy ;-)
>
> maxhaton's comment is interesting "I don't think I've ever 
> actually seen a bug that would've been fixed by this."
>
> I refer maxhaton back to the seminal paper on the benefits of 
> abstract data types:
>
> Programming with abstract data types - Liskov and Zilles 1974
>
> https://dl.acm.org/doi/pdf/10.1145/942572.807045

To which I ask again: Real example?


More information about the Digitalmars-d mailing list