Click here to Skip to main content
15,391,067 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Why the world hates Hungarian notation? - Data Dictionary Pin
Toyist5-Apr-12 7:02
MemberToyist5-Apr-12 7:02 
GeneralRe: Why the world hates Hungarian notation? Pin
Mark Johnston (SSCGP)5-Apr-12 7:30
MemberMark Johnston (SSCGP)5-Apr-12 7:30 
GeneralRe: Why the world hates Hungarian notation? Pin
we785-Apr-12 7:56
Memberwe785-Apr-12 7:56 
GeneralRe: Why the world hates Hungarian notation? Pin
jschell5-Apr-12 9:15
Memberjschell5-Apr-12 9:15 
GeneralRe: Why the world hates Hungarian notation? Pin
Ed Hastings5-Apr-12 9:36
MemberEd Hastings5-Apr-12 9:36 
AnswerRe: Why the world hates Hungarian notation? Pin
RiskFactor5-Apr-12 11:32
MemberRiskFactor5-Apr-12 11:32 
GeneralRe: Why the world hates Hungarian notation? Pin
Gerry Schmitz6-Apr-12 14:37
mveGerry Schmitz6-Apr-12 14:37 
GeneralRe: Why the world hates Hungarian notation? Pin
john morrison leon9-Apr-12 4:06
Memberjohn morrison leon9-Apr-12 4:06 
SQL
Hungarian notation is very useful as long as you don't concatenate too many prefixes and you only use it when it actually helps.

I find the 'm_' prefix for class member and the 'p' prefix for pointer very helpful and will protest at code that doesn't use it. After using 'm_', I feel free to add another prefix as in 'm_pCursor' as this remains easy on the eye. After using the 'p' prefix I really want a capital letter so that the p stands alone and is not mistaken for anything else. For me, prefixing the data type is secondary to this as most IDEs will tell you the data type simply by hovering the mouse.
I use 'n' when my logic requires a positive whole number and 'i' when my logic requires an iterator although its implementation may be size_t or int depending on the need to use -1 to represent it pointing nowhere.
I use prefixes for controls btnName, edtName.
I use established concatenations such as lpzString but try to avoid creating new ones.

GeneralRe: Why the world hates Hungarian notation? Pin
Stefan SeelandOld30-Apr-12 1:25
MemberStefan SeelandOld30-Apr-12 1:25 
GeneralRe: Why the world hates Hungarian notation? Pin
Eytukan2-May-12 21:44
MemberEytukan2-May-12 21:44 
JokeThis girl came up to me today ... Pin
Nagy Vilmos4-Apr-12 3:19
professionalNagy Vilmos4-Apr-12 3:19 
GeneralRe: This girl came up to me today ... Pin
Nish Nishant4-Apr-12 3:23
sitebuilderNish Nishant4-Apr-12 3:23 
GeneralRe: This girl came up to me today ... Pin
Henry Minute4-Apr-12 5:24
MemberHenry Minute4-Apr-12 5:24 
GeneralRe: This girl came up to me today ... Pin
Nish Nishant4-Apr-12 5:29
sitebuilderNish Nishant4-Apr-12 5:29 
GeneralRe: This girl came up to me today ... Pin
Nagy Vilmos4-Apr-12 5:42
professionalNagy Vilmos4-Apr-12 5:42 
GeneralRe: This girl came up to me today ... Pin
Henry Minute4-Apr-12 3:29
MemberHenry Minute4-Apr-12 3:29 
GeneralRe: This girl came up to me today ... Pin
Mike Hankey4-Apr-12 3:35
professionalMike Hankey4-Apr-12 3:35 
GeneralRe: This girl came up to me today ... PinPopular
Xiangyang Liu 刘向阳4-Apr-12 3:43
MemberXiangyang Liu 刘向阳4-Apr-12 3:43 
GeneralRe: This girl came up to me today ... Pin
Marc A. Brown4-Apr-12 5:09
MemberMarc A. Brown4-Apr-12 5:09 
GeneralRe: This girl came up to me today ... Pin
Gary Wheeler4-Apr-12 7:32
MemberGary Wheeler4-Apr-12 7:32 
GeneralI was thinking of getting one of those Nokia 900 Lumias Pin
Henry Minute4-Apr-12 3:18
MemberHenry Minute4-Apr-12 3:18 
GeneralRe: I was thinking of getting one of those Nokia 900 Lumias Pin
Mike Hankey4-Apr-12 3:36
professionalMike Hankey4-Apr-12 3:36 
GeneralI Love Naps Pin
GenJerDan4-Apr-12 3:17
MemberGenJerDan4-Apr-12 3:17 
GeneralRe: I Love Naps Pin
Henry Minute4-Apr-12 3:19
MemberHenry Minute4-Apr-12 3:19 
GeneralRe: I Love Naps Pin
S Houghtelin4-Apr-12 3:27
professionalS Houghtelin4-Apr-12 3:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Straw Poll

Do you feel you fully understand the vision and purpose of the software project you're working on?
Sure you can be told the "what", but do you have the "why"?
  Results   164 votes