Non-ugly ways to implement a 'static' class or namespace?
thereabluepandabear at protonmail.com
Fri Feb 10 23:19:31 UTC 2023
> I think the 'real' problem, is that some core D people just
> refuse to allow D to provide such an option to the programmer.
> For what reason, I cannot fathom, since Swift can do this just
> fine. I think it's some kind of bias against a particular style
> of programming that some don't want to see occuring when people
> use the D programming lanuguage. i.e. It has nothing at all to
> do with implementation, since it's already been demonstrated
> that it can be implemented, very easily.
> Again, in this particular area, Swift is way ahead of D.
Sorry, but I do not believe Swift is near to the level of what D
is, it's a language that's tied - like jail - to Apple's
ecosystem, and its only real use is for iOS apps. They're two
completely different languages in general.
More information about the Digitalmars-d-learn