Forgot your password?
typodupeerror
Programming

sceptre1067's Journal: Hungarian Notation

Journal by sceptre1067

I have this love/hate relationship with it...

I think is is usefull for constants, globals, and gui components (e.g. mVar is global, kVar is constant, btnVar is a abutton, tbVar some sort of text box thought to be clear I prefer txbxVar... etc.)

But it just drives me buggy when somebody wants all datatypes, arrays, database types, xml types, etc. done up in Hungarian...

So I have to type nodVar as opposed to varNode for an xml node... but for my poor brain typing out the word node, so I know what it is doesn't seem that bad versus prepending with nod... and on it goes....

do I really need to know something is a string, integer, double, or float??? I'm a big boy, I'll go look at the declarations.

O.k. I know some languages allow the creation of vars on the fly (Perl comes to mind, or old time lotus script with $var for a string.) But with C style languages, one can go look at the declaration...

sigh...

This discussion has been archived. No new comments can be posted.

Hungarian Notation

Comments Filter:

You can do this in a number of ways. IBM chose to do all of them. Why do you find that funny? -- D. Taylor, Computer Science 350

Working...