Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tips wanted for a .net newcomer
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2000 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01594688
Message ID:
01594743
Vues:
100
>> Wow, just wow.... I will look another way, that is so wrong... Interfaces are (or should) not even be mentioned along OO and inheritance is one of the four pillars of OO

Maybe you should review the gang of four design patterns (which is pretty much the bible for OO design) and see what they have to say about subclassing.

Subclassing is a feature, but one not to be used excessively.

If you never read a design pattern book these can be enlightening:

Design Patterns of Reusable Software

or a more easy to digest book:

Heads First Design Patterns

FWIW, the latter is an excellent read and reference...

+++ Rick ---

>>Right. Inheritance (which is what you get with VFP subclassing) is pretty much frowned on. There are exceptions, of course. Interfaces, Composition, Aggregation are much better OO practices.
>
>Wow, just wow.... I will look another way, that is so wrong... Interfaces are (or should) not even be mentioned along OO and inheritance is one of the four pillars of OO, that is all that I will say, I had this conversation before here and I will not engage again..
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform