>Interestingly, it seems that Joel is correct in saying that Charles Simonyi never meant hungarian notation to indicate type and scope at all.
It specified type but not scope. In the original Hungarian notation, type could be indicated at an even lower level than the C language variable type. As the article points out, variables holding horizontal coordinates and vertical coordinates would have distinct prefixes even though both were of type int.
Scope was a useful enhancement to the original convention that had been adopted by many C programmers by the time YAG wrote the first Codebook.
Mike
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