Information générale
Catégorie:
Programmation Orientée Object
>From the technical perspective, Edward and Jim have summed it up very well, and I can't really add much to that.
>
>From a philosophical perspective, the approach you describe really does not play well in an object-oriented setting, and it actually tends to short-circuit the OO power of VFP. I've heard these arguments before, and frankly (no disrespect intended here), they are almost always voiced by folks who show some resistance to learning and applying OO analysis and design.
>
>FWIW -- Bill
>
>PS -- Just as a sidebar, a similar debate used to rage back in the days of 16-bit FoxPro -- do you put your code in snippets, or do you put it in a .PRG? A sure way to push a FoxPro colleague's hot buttons was to start the old snippets vs. .PRG argument. What some of us didn't realize back then was that a snippet were actually sort of a jurassic method, and it offered us a relatively painless (although primitive) introduction the OO way of doing things.
Actually, I agree with you, but I'd like to play devil's advocate. What about those that say that OO is a tool just as everything else. It is to be used, but it is not an End-all, Be-all. There are some problems that don't lend themselves easily to an OO solution. In some rare occasions a PRG would actually be more effective.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement