Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Coding Standards
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00115272
Message ID:
00115280
Vues:
18
Sorry, Menachem, let's make this a little more readable with this re-port.

That's pretty much what I follow with the following exceptions and additions.

Exceptions -

Variable names are usually all lower case.

Mixed case is used with calls to the API or external libraries.

Table field names are not "typed". The language is so loosely typed, and given the limitation (in the old days) of 10 characters, I feel the more descriptive the better.

Additions -

One, and only one, exit point (at the end of the module) for procedures and functions. There are, of course, exceptions, but it must be for a quantifiable reason.

The use of the EXIT and LOOP keywords is prohibitted. I think that these are the xBase equivalent of GOTO.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform