To interface or not to interface

Jacob Carlborg doob at
Tue May 25 06:42:40 PDT 2010

On 2010-05-25 00.13, Walter Bright wrote:
> Steven Schveighoffer wrote:
>> All an interface does is give an abstract representation of functions
>> that are *already there*. Removing the interface does not remove the
>> functions that implemented the interface.
> Then why do interfaces need to be part of the collection component? Why
> can't the user add them if he wants them?

How would the user do that? The user would need to create an interface 
and then a wrapper that implements the interface. An interface without 
implementations is useless. Or am I missing something ?

/Jacob Carlborg

More information about the Digitalmars-d mailing list