Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Variable/field naming conventions
Message
De
26/03/2007 16:42:42
Alan Harris-Reid
Baseline Data Services
Devon, Royaume Uni
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Variable/field naming conventions
Divers
Thread ID:
01208623
Message ID:
01208623
Vues:
73
Now more and more of us are using more than one development language and/or database environment, I would be interested to know what you developers out there are doing regarding continuing the 'established' VFP standard of prefixing field names with the first letter of the datatype (c for character, n for numeric, l for logical, etc.) when you are working with other software.

I am so used to it now that cFirstName, cSurname, cAddress1, etc. come more naturally to me than firstname, surname, address1... The more I look at other developers' work, or on-line demos in other languages, I have not noticed the convention used anywhere else apart from the VFP community. It's a pity it hasn't been adopted more widely. Is it used anywhere else?

So...
Are you keeping up the standard, and applying it to other development environments (ie. spreading the word, and the advantages)?
Are you keeping up the standard for VFP only, but not for SQL-Server, C#, VB.NET, PHP, etc.?
Have you abandoned (or not adopted) the notation in VFP because no-one else outside of VFP uses it?

Any thoughts would be appreciated.


Alan
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform