Negation of attributes (DIP 79)

iackhtak via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 4 08:09:26 PDT 2015


On Tuesday, 2 June 2015 at 10:29:35 UTC, Daniel Kozak wrote:
> I am working on dip which will try to addressed negation of 
> attributes issue.
> http://wiki.dlang.org/DIP79

More general: attribute(Args...)

safety(Safety.Pure):
access(Access.Private): // assume private/protected/... is pseudo 
attributes
access(Access.Package, "some.module"):
override(Object): // override only Objects methods. IMO good idea 
to group method by owner
override(false):

cons:
New keywords for same things. It hints things like __access. Ugly 
things:(
New ways for same things
Ugly


More information about the Digitalmars-d mailing list