Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Superclass vs. Subclass structures
Message
From
29/10/1998 14:45:43
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00151975
Message ID:
00152466
Views:
25
Mark ----

>
>Right, but I prefer the compiler/runtime take care of it. This simulates each object simply "knowing" what to do, when issued a polymorphic command. At the practical level (which is what really counts), those kind of switches are a maintenance burden that is best avoided.

Yes...you mean the DO CASE or what not should be in the object that encapsulates the behavior? Absolutely.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform