Rory is one of my favorite bloggers. Earlier this week he posted Die, Hungarian notation… Just *die*, which sentiment I agree with wholeheartedly. Jim Hyslop and Herb Sutter’s (three years earlier) article Hungarian wartHogs is also a great read.
I never understood why people are so enamored of Hungarian notation. My view has always been that if you use meaningful names type information is meaningless. Further, if you have so many variables running around that you have to embed type information in their names to keep track of what’s going on, you bloody well need to do some serious refactoring! Not to mention that I don’t want to have to go through all my code changing member names just because a variable’s type changed from int to long.
Hungarian notation, of course, is one of those topics over which jihads are regularly fought. Now you know which side I’ll be on when the next one starts. <g/>