Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Who Called Me?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00436100
Message ID:
00436674
Vues:
29
>Trey and Larry have already given you the answer. I, however, would strongly recommend against doing something like this. Basically, from what I understand, it'll break down functional cohesion. IOW, while the program may be doing two similar things, they won't be the same. This can cause you a great deal of problems later on.

Just an observation here (basically I agree with your view), but isn't this just a "roll-your-own" form of object oriented programming - you use the same function, but the effect is different based on the caller ? In normal OO programming, the detail of how the different function (method) is called is usually hidden, in this case it's done manually.
Mike

"I can live with doubt and uncertainty and not knowing. I think it is much more interesting to live not knowing than to have answers that might be wrong." - Richard Feynman
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform