Why is D unpopular

bauss jj_1337 at live.dk
Mon Jun 13 09:01:21 UTC 2022


On Monday, 13 June 2022 at 08:59:24 UTC, Ola Fosheim Grøstad 
wrote:
> On Monday, 13 June 2022 at 08:44:59 UTC, bauss wrote:
>> Thus _c should be accessible within a regardless of whether 
>> it's public within the b module or not.
>
> Yes, I agree. It should not matter whether the pointer is typed 
> as Foo or Bar, as a Bar is also a Foo.

Exactly.

I'm all for it being illegal, but then D isn't "module private" 
and stating it is would be wrong then.


More information about the Digitalmars-d mailing list