D Language Foundation July 2022 Quarterly Meeting Summary

Ruby The Roobster rubytheroobster at yandex.com
Mon Aug 29 03:32:08 UTC 2022


On Monday, 29 August 2022 at 03:04:15 UTC, zjh wrote:
> On Monday, 29 August 2022 at 02:58:33 UTC, zjh wrote:
>> On Sunday, 28 August 2022 at 10:37:03 UTC, Mike Parker wrote:
>> and how some people would prefer that it be 
>> private-to-the-class instead.
>
> Encapsulation by class can quickly determine the `problem`.
> The smaller the `encapsulate`, the better.
> It would be better if  `struct` could also be inherited.

The whole point of a struct in an OOP Language is to allow user 
defined types that prohibit inheritance.


More information about the Digitalmars-d-announce mailing list