Hungarian notation in C++ (is it used or not today, and if so, how?)
From: Colin Girling (colin_at_colingirling.my-bulldog.com)
Date: 10/27/04
- Next message: B. v Ingen Schenau: "Re: problem with function"
- Previous message: Colin Girling: "Re: problem with function"
- Next in thread: Mike Wahler: "Re: Hungarian notation in C++ (is it used or not today, and if so, how?)"
- Reply: Mike Wahler: "Re: Hungarian notation in C++ (is it used or not today, and if so, how?)"
- Reply: Brian Riis: "Re: Hungarian notation in C++ (is it used or not today, and if so, how?)"
- Reply: Ulrich Eckhardt: "Re: Hungarian notation in C++ (is it used or not today, and if so, how?)"
- Reply: Thomas Matthews: "Re: Hungarian notation in C++ (is it used or not today, and if so, how?)"
- Reply: James Dennett: "Re: Hungarian notation in C++ (is it used or not today, and if so, how?)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 27 Oct 2004 17:34:15 +0100
I had another discussion going about the use of Hungarian notation, and
pointed out that all the companies I have worked for in the last 15 years
have been useing this.
If this is no longer used, what is used (or do people use nothing and just
guess on the data type?)
Also, I discovered there didn't seem to be any one standard, but many
variations.
The prefixes I am familiar with are these:
p (pointer)
c (constant)
s (string)
sz (null terminated string)
l (long)
u (unsigned), ul meaing unsinged long
i (int)
n (any integer type number)
d (double)
f (float or flag, varies)
by (unsigned char, or byte)
c (char)
g or g_ (sometimes used for global)
m_ (member variable)
Any comments would be welcome, as I am always interested to hear what other
people are using (if anything?)
Thanks.
- Next message: B. v Ingen Schenau: "Re: problem with function"
- Previous message: Colin Girling: "Re: problem with function"
- Next in thread: Mike Wahler: "Re: Hungarian notation in C++ (is it used or not today, and if so, how?)"
- Reply: Mike Wahler: "Re: Hungarian notation in C++ (is it used or not today, and if so, how?)"
- Reply: Brian Riis: "Re: Hungarian notation in C++ (is it used or not today, and if so, how?)"
- Reply: Ulrich Eckhardt: "Re: Hungarian notation in C++ (is it used or not today, and if so, how?)"
- Reply: Thomas Matthews: "Re: Hungarian notation in C++ (is it used or not today, and if so, how?)"
- Reply: James Dennett: "Re: Hungarian notation in C++ (is it used or not today, and if so, how?)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|