Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
>>By the way, interfaces, as used frequently, do not aid in OO design/development at all. Interfaces, in the most commonly used way, are just a workaround to the problems that arise using types in an OO language.
>>
>>What you described can be done with abstract classes, but what if all the objects aren't in the same class hierarchy?
>>
>>Interfaces are used extensively in the .NET Framework. Interfaces provide a good mechanism for implementing contracts on objects - they guarantee that an object will support specific PEMs of the named interface.
>>
>>Interfaces also simplify distributed computing (specifically, remoting), where code in one domain must work with classes in different domains. Interfaces also allow us to implement polymorphism, when multiple inheritance doesn't exist.
>>
>>Kevin
>
>I know what an interface is.
But you do not want to discuss Kevin's more relevant points? I'm interested much in this discussion and would like it if you continued.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only