Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prgs vs Methods
Message
From
14/01/1999 16:56:34
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Miscellaneous
Thread ID:
00176041
Message ID:
00176222
Views:
40
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform