Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FOO - where does it come from?
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00539920
Message ID:
00539950
Views:
17
It's not the worse way to name variables. I supported an application where original developer used variavbles name like m.f*ckyou and user would call and complain that program is cursing her. It turned out that she got message "Variable 'f*ckyou' not found".

>>>
>>>Before Nancy's explanation I thought, that it's an short form of "function". Anyway, I personally hate to see all these "foo"s in my colleague's code. I always use a meangful name for variables, objects, etc., even for temp variables.
>>
>>
>>
>>Nadya,
>>
>>You mean that they actually use FOO and BAR in real live code!!!
>>
>>Even *I* wouldn't do a thing like that.
>>
>>Cheers,
>>
>>Chris
>
>Don't remember about BAR, but FOO - definitely... Something like FOO=&CallProc
>Another problem is, that not all variables are declared. This also contradicts with my style, because I declare each used variable explicitly (though it's unnecessary). I also use l+type prefix, thought this is also obsolete, becase I also use m. to distinquish vars from table fields...
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform