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

bachmeier no at spam.net
Fri Feb 10 14:50:59 UTC 2023


On Friday, 10 February 2023 at 07:04:31 UTC, Max Samukha wrote:

> Having class-private doesn't preclude module-private. Dennis 
> even submitted a PR implementing class-private, but it stalled 
> because people couldn't agree on whether class-private should 
> be "private to class" or "private to class instance".

This is a great example of the problem. In a discussion of any 
five programmers, you'll have five conflicting sets of rules that 
are the obvious and intuitive way to do it.


More information about the Digitalmars-d-learn mailing list