Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bindevent to a property
Message
De
11/04/2013 06:44:41
 
 
À
11/04/2013 06:05:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01570434
Message ID:
01570718
Vues:
48
>And beyond that, when a naming convention is in use, such as memory variable format of "llFoo" or "lcName" or "lnEstValue" coupled to table field names of "lFoo", "cName" and "nEstValue" (which would've already fixed itself by being different names in nearly every case, but for the cases where there's a logical value called "lNestValue" the ability to use case-sensitive names now removes that issue as well).

analysis of problem correct that only a veryfiable field name difference protects you - my typical example is the lDayIsWorkDay logical field ;-)
For me unless naming convention includes [g,p,l(,t,r)] for variables (t/r if you want to mark parameters as value or reference) AND a leading "d" for datafield to make sure that each field has a prefix of "d" I consider mDot safer bordering on necessary in multi-developer setups. As case-sensitivity might be altered in client installation of a backend server I would hesitate to switch to your approach, although it has its own elegance - and you are used to case sensitive programming from C, but others might be not. In that case a lint-like tool should be added to find programmer spelling errors easier for a language coming from case-insensitive heritage. YMMV.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform