Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
This is a must-read for any programmer.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00398357
Message ID:
00398410
Vues:
14
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform