Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strong typing in visual foxpro
Message
From
14/09/2005 10:11:58
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:
01049423
Views:
20
>>>>>>>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>
>>
>>4th is for me? :)
>>Cetin
>
>Nope <g> Let's say it in general <g>

Just today I posted some sample code in MS VFP forums. Comments were not with bad English I can assure you (because was in Turkish). From my POV code is the comment of itself and I'm lazy enough not to have much comments.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform