Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does a PRG class execute faster than a VCX based class?
Message
From
11/08/2005 08:50:49
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
11/08/2005 05:00:38
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01040117
Message ID:
01040170
Views:
19
>Hi All,
>
>I and a friend are having a discussion on how to best create and maintain classes. He suggested that we programmatically code our classes. I, however, am very comfortable designing/coding classes visually - that is, using the Visual Class Designer.
>
>Although one can very well convert a VCX based class (or a Form even) to a PRG class via Class Browser/View Code, the issue of performance and best practices comes to mind.
>
>Which executes faster? Is coding classes programatically more popular? Or better practice?
>
>Many thanks to anyone who shares his/her insights!
>
>Dennis

I agree with Çetin; and I think that quite often, the main problem is not that your application works fast enough, but rather, that you manage to get the programming done fast enough! Visual design should help you with this objective.

Of course, you can do some speed tests, and memory usage tests, for certain cases. I don't think the performance difference is significant, but you can try it.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform