Non-ugly ways to implement a 'static' class or namespace?

bachmeier no at
Fri Feb 10 00:29:38 UTC 2023

On Friday, 10 February 2023 at 00:18:59 UTC, Ali Çehreli wrote:
> On 2/9/23 15:58, thebluepandabear wrote:
> >> In contrast, I use D every day and love its relaxed attitude
> towards
> >> private.
> >
> > the fact that private stuff is accessible from other classes
> in the same
> > module is really really bad, and it's pretty detrimental to
> the language.
> Not everybody shares that view.

Correct. I think D has made the right decision, even if others 
want it to be what they're used to, and even if they have never 
bothered to try an alternative approach. In the many discussions 
on this, I have only seen opinions and conjecture, never a strong 
argument for a change.

More information about the Digitalmars-d-learn mailing list