Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prgs vs Methods
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Divers
Thread ID:
00176041
Message ID:
00176723
Vues:
45
>Ok. Work with me on this one. I've got a particular method that I know that is going to need tweaking at the client site. Unfortunately the only way that the client we'll be able to communicate what he wants is by seeing the complete exe in concert with this particular method. For some reason I can't meed with the client ( lets say he lives on Mars ). So I have the method call a prg. I exclude the prg and send up the Exe and prg together. Now we talk over the phone and I have the ability to make changes on the prg as we're speaking and my client is very impressed. He thinks it magic or maybe some rare form of psychic ability.
>
>I know this is a very specific area, but I'd like to know what are the Pros and Cons with this idea. This seems to me be violating some basic tenants of program theory but I can't pu my finger on it. Can something like this be achieved without using a prg ( or a table with a memo and code block ).

Dan --

I just jumped back onto this thread and saw that the others have already given excellent responses to your case.

Based on my experience (and admittedly, that might be far more limited than yours), the scenario you outlined above is rare, and personally I would avoid such an arrangement at all costs...especially with a Martian!

With that said, I would point out (as others have), that the .PRG solution assumes that VFP is available on the client's site for compiling the .PRG. I don't know that there really is an "elegant" solution for this in either the structured/procedural approach or the OO methodology. In fact, this case doesn't seem to present a good argument one way or the other in the S/P vs. OO debate.

This is an interesting discussion, and your role as "devil's advocate" has drawn some great responses from the participants.

Bill
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform