Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Coding Standards
Message
De
10/07/1998 16:54:49
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
08/07/1998 20:42:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00115272
Message ID:
00116325
Vues:
14
>An interesting rule I heard from somebody else (but I don't use it :)): never use plurals in field/var/etc naming. This makes easier to remember the names you use.

My guys have an interesting rule: the plural goes into the table name (it holds a multitude) and singular in the field name. Therefore, customer code is kupci.kupac (customers.customer).

>And one that I use :): no abreviations inside var/proc/func/method names. Some exceptions apply (like "No" for "Number"). This way, I never ask myself how did I abreviated something in a name and I don't have fuzzy abreviations. The same goes for any other programmer coming after me...

A good exception is the abbreviations which are unforgettable; look at these:

indi_ana - indicator of analytical record
vrana - vrsta analitike (type of analytics - but "vrana" means "crow")
sumpor - suma poreza (sum of the tax - but "sumpor" is "sulphur")

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform