Mike Yearwood
Toronto, Ontario, Canada
Information générale
Catégorie:
Codage, syntaxe et commandes
>>>>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
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