Mike Yearwood
Toronto, Ontario, Canada
Information générale
Catégorie:
Codage, syntaxe et commandes
>>IMHO, it's a dangerous style to not use the m. prefix. If you add a field in a table and a variable with the same name exist somewhere in the code, you could be in for a strange-hard-to-debug side effect.
>>
>>>Great point, Cetin. I used to always use m. notation, but later had to drop this habit to adhere to other programmers' style.
>
>I know, but with the lc prefix the probabily of the error is less. Anyway, I agree with this statement and may resume my long time habit again.
Any programmer worth his/her salt should not have any problem looking at code with or without the mdot. This is programming not a fashion show. Style is irrelevant. mdot is not a style it is acknowledging how foxpro works.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement