Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Philosophical question
Message
From
30/04/1998 19:20:06
 
 
To
30/04/1998 18:18:49
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00095802
Message ID:
00096185
Views:
25
.
>
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform