Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).

×
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:

He's like a function -- he returns a value, in the form of his opinion. It's up to you to cast it into a void or not. -- Phil Lapsley

Working...