Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strong typing in visual foxpro
Message
 
 
À
14/09/2005 09:49:34
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Database:
Visual FoxPro
Divers
Thread ID:
01049322
Message ID:
01049415
Vues:
17
>>>>How about using only one return statement in the function/procedure? I know, it's could be very difficult...
>>>
>>>My preference is like Frank's. Multiple returns is good:)
>>>Cetin
>>
>>Read his reply in the thread <g> I use this myself, but always with a slight feeling of guilt...
>
>I always do w/o any feel of guilt (and hate anyone's code if I had to review and uses one return).
>Cetin

I see <g>

There are few things I dislike in somebody's else code:

1. Using macros where other alternatives could be used.

2. Not giving proper credit when using somebody's else code.

3. Using bad names for variables / methods.

4. No proper comments in the code or the comments in bad English with typos and wrong grammar <g>

Update. 5. Using VFP default names for objects in form, e.g textbox1 instead of txtFullName, etc. I give proper names even to the labels and shapes.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform