Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving from Foxpro to C# or Java. Which one?
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01014647
Message ID:
01015590
Vues:
24
>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.
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform