>>>>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