Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FOO - where does it come from?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00539920
Message ID:
00539950
Vues:
18
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform