Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strong typing in visual foxpro
Message
 
 
To
14/09/2005 09:49:34
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01049322
Message ID:
01049415
Views:
18
>>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform