What is the difference between enum and shared immutable?

H. S. Teoh hsteoh at quickfur.ath.cx
Thu Oct 29 14:39:31 UTC 2020

On Thu, Oct 29, 2020 at 09:50:28AM -0400, Steven Schveighoffer via Digitalmars-d-learn wrote:
> D frequently allows no-op attributes.

I find that to be a bad smell in terms of language design, actually.
Either something should be allowed and have a definite effect, or it
should not be allowed.  Not this murky grey area where you can write
something and it seems to be allowed, but doesn't actually have any


One reason that few people are aware there are programs running the internet is that they never crash in any significant way: the free software underlying the internet is reliable to the point of invisibility. -- Glyn Moody, from the article "Giving it all away"

More information about the Digitalmars-d-learn mailing list