Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Field naming conventions
Message
 
À
18/02/2008 15:57:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01293572
Message ID:
01293596
Vues:
17
>>As a preference... in your field names... do you include the type as part of the description...? even if you are using Hungarian notation...? such as...
>>
>>tstarttime vs tstart
>>dduedate vs ddue
>
>NO.
>But why does yor example suggest that dDueDate could be DDate... why not DueDate. Similarly for StartTime.
>Do you notice that getting away from abbreviating absolutely everything also lets the fields define their type almost by default?

That is why I questioned it. If I elect to use Hungarian (which I have) then naming a field dduedate seems redundant. It's saying dduedate=dateduedate whereas my example ddue=duedate. It seems pointless to include the word "date" at the end of something that the notation says is a date.

BTW - I don't think my example suggested that dDueDate could be DDate.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform