3 ms·
The point here is that the current API is basically a double negative. Rather than saying "I want to be a drag source" and "I want to be a drop target" you are
by boucher 17y ago
The point here is that the current API is basically a double negative.
Rather than saying "I want to be a drag source" and "I want to be a drop target" you are saying "I don't want to not be a drag source" and "I don't want to not be a drop target".
It's bad design.
- StrawberryFrog 17y agoNegative flags are almost always a bad choice for a name. I'd rather see if (obj.IsFoo) { ... } than if (! obj.IsNotFoo) { ... } Still, changing a name is minor as far as design goes.