A few notes on choosing between Go and D for a quick project

Namespace via Digitalmars-d digitalmars-d at puremagic.com
Fri Mar 13 14:12:25 PDT 2015


> Yah, we sorely need a way to undo an attribute. BTW "@undo" is 
> short and sweet. -- Andrei

I thought reusing keywords is what you like:

Example #1:
----
pure:
nothrow:

// ... some stuff

default: // not pure/nothrow
----

Example #2:
----
class Foo {
final:
     // ...
default: // virtual
     // ...
}
----


More information about the Digitalmars-d mailing list