Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Whats bad about Visual Foxpro
Message
From
16/07/2001 10:37:22
 
 
To
16/07/2001 09:51:48
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00530878
Message ID:
00530995
Views:
31
>
>To the other comments, I want to add that VFP treats variables as an interpreter does, not as a compiler. This is not serious in practice, but it does have two drawbacks:

That's because VFP is interpreted.

>
>1) Often you only get an error message at runtime. It helps to develop better programs if errors appear already when you compile a program.

Can you provide an example?

>
>2) Since VFP has to loop up variables in its table of variables, working with variables is slower than with a "real" compiler.

Even "real" compilers have to look up the variable.

>
>3) The fact that all variables are of type "variant" also both makes the program slower, and can produce errors at run-time (type mismatch).

If you are getting this freqently, it's not a fault of VFP, but of the programmer. Better care should be taken to initialize the variables. Good naming practices help here.

>
>Some of these things, I think, have been changed in VFP 7 - specifically, I understand that you can specify the type of a variable.

No. That has not changed. VFP7 has what is called "strict typing", which, IMO, is poorly named. In this case, it really isn't strict typing. There is simply a way to define parameter types for methods in COM servers.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform