Walter Meester
HoogkarspelPays-Bas
>However this discussion is more about the hungarian notation, where the prefix is indicating type and scope. Since 99% of all variables are (should be) local there is no need to indicate scope unless it is a public or private.
FWIW, I agree with you on the scope issue. I use a scope prefix only for the rare public variable, but I find the one letter type indicator extremely valuable.
>In a team of developers, it is way easier to apply consistent naming conventions (type and scope notation that is), by having none at all.
While that may be true, it makes sharing the code harder. Without a convention, two different members of the team may use the same name in totally different ways, making it hard to read each other's code.
Tamar
Précédent
Suivant
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