Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Opinion about Garrett Fitzgerald's blog
Message
De
28/02/2006 15:09:26
Mike Yearwood
Toronto, Ontario, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01099257
Message ID:
01100072
Vues:
18
>>>>I didn't see where GarrettF 'recommended' naming conventions
>>>
>>>The title of his entry is "The dangers of not using naming conventions." Doesn't
>>>that imply he feels the fix is to use naming conventions?
>>
>>I guess it does... at least two see it that way, and I'm the odd man out < s >
>
>Heh. The way I fixed the issue was to add the mdot, rather than rename the column, so I guess even I don't think the fix is to use naming conventions. I've just never had a variable/field collision using Hungarian notation, and all I could think was "If I had renamed the column when I imported it, I wouldn't have had to go through this..."

I use hungarian notation and mdots all the time. Best combination of speed, reliability.Readability is not reduced in only the most insignificant way. Of course, I can read code with or without the mdot. There are far more serious ways to reduce readability. MDot hurts no one and costs nothing, prevents such conflicts and gives a small speed boost.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform