Eloquently sums up my feelings about the disadvantages of dynamic typing
Jacob Carlborg
doob at me.com
Wed Oct 16 12:19:26 PDT 2013
On 2013-10-16 21:08, simendsjo wrote:
> Remove all would probably be more in sync with getAttributes that
> returns all attributes, but removing only the first would allow greater
> flexibility. It's easy to remove all if you have a way to remove one,
> but the other way around isn't as easy :)
How would you remove all? I guess something like this:
!@(foo, foo)
But how can that be generalized? Unless we get a trait for removing
attributes.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list