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

thebluepandabear thereabluepandabear at protonmail.com
Thu Feb 9 13:07:56 UTC 2023


On Wednesday, 8 February 2023 at 12:07:35 UTC, zjh wrote:
> On Friday, 20 January 2023 at 11:28:23 UTC, thebluepandabear 
> wrote:
>> Hi,
>>
>> In Java/C# you can create purely static classes.
>> ...
>
>
>
> Last time, someone proposed to add `private` like `C++'s`, and 
> then it was the same,they are always unwilling to add 
> facilities useful to others, and then he left `D`.

yeah the whole module behaviour with `private` is just a massive 
turn off tbh, it needs to be changed to match the Java style


More information about the Digitalmars-d-learn mailing list