Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Philosophical question
Message
De
30/04/1998 19:20:06
 
 
À
30/04/1998 18:18:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00095802
Message ID:
00096185
Vues:
27
.
>
>And David, I thought that the whole premise of both Windows and Objects *IS* the passing of messages to/fro. I cannot see how this would "break" encapsulation.

passsing msgs - yes but not calling direct methods

other object shouldn't know or care about the internal workings of other objects
What we implemented here is to add a single method (called DISPATCH) to all objects and have objects pass msgs to each other using this method
this way if some object does not know how to handle a message it gets it just doesn't do anything etc.

Arnon
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform