Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
This is a must-read for any programmer.
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00398357
Message ID:
00398410
Views:
28
>>http://www.mindprod.com/unmain.html
>
>
>I didn't read the whole thing yet but it is very funny. Since most languages don't have macro expansion (&) like VFP I bet there is nothing in there about that. A guy could really reak havoc using "&" alot. For example never actually type out important variables. Allways build them in a string and then use & to get to them. Like
>
>lcVar1 = 'lcImp'
>lcVar2 = 'ortantVar'
>
>lcVar3=lcVar1+lcVar2
>
>&lcVar3 = 'some value'
>
>This will making searching for the variable impossible.
>
>Also, while I was reading the article I could sware that some programmers before me had followed the advice given especially about commenting.

Nah, that's too easy. You need to build those variables in different sections of code. Throw in a global variable here and there as the program is run, then use the macro expansion :) .
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform