Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. ×
Programming

Journal sceptre1067's Journal: Hungarian Notation

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:

The test of intelligent tinkering is to save all the parts. -- Aldo Leopold

Working...