What are (were) the most difficult parts of D?

zjh fqbqrr at 163.com
Fri May 13 04:14:25 UTC 2022


On Thursday, 12 May 2022 at 20:49:08 UTC, Chris Katko wrote:

> In D, I can do the module based method, but nothing short of 
> renaming variables gives me a list of violations and, that also 
> makes all the correct internal accesses wrong. Because private 
> doesn't work.
>
> Call it whatever keyword you want, I really want a 'private' 
> specifier for classes. It's incredibly useful.

We can really add a keyword such as `secret`. `Good idea`.



More information about the Digitalmars-d-learn mailing list