Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hungarian Notation cost you too much in VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00048156
Message ID:
00048438
Vues:
35
>Basically, Vlad, just laziness. It's easier to type a variable name than formobject.formproperty, it adds an extra step or two to store the variable, and more than a couple of steps to make sure you have the form property, remember the spelling, etc.

:)) What about the programmer that will eventually come after you... A variable is declared in the Init method and used in any other place at form level (in any other method of any other object contained in the form, too?) and after that we extend this rule to any other object (variables scoped to label level?:)), etc... I have enough problems with the programs I have to modify and which are full of all kind of smart variable uses... :) What a nightmare! :) Am I dreaming? :) Do we scope variables to data sessions too? Brrrr

>In addition, I've had trouble in a few places with arrays not working too well as form properties, so I end up copying them back to local variables.

I agree. These arrays are a weird animal who didn't adapted too well in the FoxPro biodome! :)

Vlad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform