DIP64: Attribute Cleanup

Jonathan M Davis via Digitalmars-d digitalmars-d at puremagic.com
Sat Jun 21 23:26:17 PDT 2014


On Fri, 20 Jun 2014 19:22:02 +0000
Brian Schott via Digitalmars-d <digitalmars-d at puremagic.com> wrote:

> http://wiki.dlang.org/DIP64
>
> Attributes in D have two problems:
> 1. There are too many of them and declarations are getting too
> verbose
> 2. New attributes use @ and the old ones do not.
>
> I've created a DIP to address these issues.

I would point out that if we do this, we should serious consider renaming pure
to @noglobal rather than @pure, or even making it the default and then adding
@global. That would make it so that we wouldn't have to keep explaining about
how pure has very little to do with functional purity.

- Jonathan M Davis


More information about the Digitalmars-d mailing list