Eloquently sums up my feelings about the disadvantages of dynamic typing

Jacob Carlborg doob at me.com
Wed Oct 16 12:00:07 PDT 2013


On 2013-10-16 20:38, Andrei Alexandrescu wrote:

>> Seems like it would only work on binary built-in attributes.
>
> Yah.

Why?

enum foo;

@foo:

!@foo void bar ();

Just as if @foo wasn't attached to "bar". Although I don't know that to 
do with multiple attributes of the same type:

@(foo, foo) void bar ();

Remove all?

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list