Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Coding Standards
Message
From
10/07/1998 16:54:49
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
08/07/1998 20:42:10
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00115272
Message ID:
00116325
Views:
13
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform