Extending D's support for object-oriented design with private(this)

Dom DiSc dominikus at scherkl.de
Thu Apr 25 08:08:40 UTC 2024


On Thursday, 25 April 2024 at 06:05:23 UTC, zjh wrote:
>
> This improvement has no `side effects` on the `d` language. I 
> really don't know why they `oppose` it?

Opposition was only because of "friend"s, which destroys 
encapsulation in an unpredictable manner. As long as no "friend" 
attribute is proposed, everything is fine. Already works without 
problems in OpenD.


More information about the dip.ideas mailing list