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

Richard (Rikki) Andrew Cattermole richard at
Mon Feb 6 21:02:13 UTC 2023

On 07/02/2023 9:56 AM, ProtectAndHide wrote:
> On Monday, 6 February 2023 at 08:26:45 UTC, Ali Çehreli wrote:
>> ....
>> In contrast, D delivers some features in an unprincipled way and the 
>> programmers use combinations of those features the way the see fit.
> I agree, that D is unprincipled in many ways, and this is perhaps the 
> biggest surprise for new comers from other 'principled' programming 
> languages.
> But is that a design goal for D?

Yes. Not all problems are best solved the same way as another.

Use what is best for you & your problem domain, not what somebody is 
selling as the next big thing.

More information about the Digitalmars-d-learn mailing list