Advertisement

Hungarian Notation question

Started by December 17, 2000 03:12 PM
5 comments, last by Goku705 24 years, 1 month ago
Alright, I''m reading all of these arguments as to whether Hungarian Notation should be used but I have an interesting question... Why is it called Hungarian Notation in the first place? Knowing spoken Hungarian and a little written Hungarian, I don''t see the correlation. Verbs are nouns are both conjugated, believe it or not, according to vowels therein. Also, these conjugations affect the verb/noun SUFFIX, not prefix. There are prefixes for certain words like "with" and "in" but not for adjectives. Thusly, true Hungarian notation would go something like this: int value_87 = 87; //it contains 87, so call it value_87 class myClassILC // contains an int, a long and a char { public: int num_m_mcILC; // m_mcILC = member of myClassILC long quantity_m_mcILC; char letter_m_mcILC; }; Worse yet, it could REALLY be based on the vowels therein... int Corporate_Data_ooaeaa; char Im_Sure_You_Get_The_Picture_ueoueiue; (Not how it''s actually done in Hungarian but it''s kind of hard to conjugate English words Hungarianish-ly) Frankly, we should all stop arguing over it and be happy that coding doesn''t look like either example. -Goku SANE Productions Homepage
quote: Original post by Goku705

Alright, I''m reading all of these arguments as to whether Hungarian Notation should be used but I have an interesting question...

Why is it called Hungarian Notation in the first place?



Because the creater of it, Charles Simonyi, was Hungarian .



Nick - Head Designer, Llamasoft.net

--
Visit our website...

Llamasoft.net
Games, goodies and ingenuity
Nick - Head Designer, Llamasoft.net--Visit our website...Llamasoft.netGames, goodies and ingenuity
Advertisement
Hungarian Notation

I thought my physics professor in college used a HP calculator that used Hungarian Notation for input back when Microsoft was a game company writing flight simulators for Apple, but according to this I must be wrong. Then again, this is the company that claims to be personally responsible for the entire computer revolution.
Keys to success: Ability, ambition and opportunity.
Are you sure you''re not thinking of Reverse-Polish Notation? =)

Also, I don''t believe that Microsoft ever wrote any games. In fact, nearly every major piece of software Microsoft puts out was acquired. From DOS to Word to Flight Simulator.
Hehe, I guess that is it. I guess I should have read the page I linked to. I''ve been reading too many math books and playing with Mathematica too much lately. I immediately assumed a mathematical notation.
Keys to success: Ability, ambition and opportunity.
Merlin9x9: Could be that too! Polish (and possibly Czech) is the only other language that is anything like Hungarian so it''s not too big a surprise.

Anyways, it''s pretty stupid to name the notation after the birthplace of it''s creator. I realize Simonyi (pronounced Shee-mun-yee) Notation would suck as a name but they could have come up with something else.


-Goku
SANE Productions Homepage
Advertisement
yeah, it''s almost kind of racist in the way of making a point about the person''s race. It would be like saying African American Notation. Apparently the guy didn''t mind though


"All you touch and all you see is all your life will ever be --Pink Floyd

Need help? Well, go FAQ yourself.

----------------------------
Click here to see my current project.
Need help? Well, go FAQ yourself. "Just don't look at the hole." -- Unspoken_Magi

This topic is closed to new replies.

Advertisement