<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Hungarian Notation</title><link>http://blogs.msdn.com/rick_schaut/archive/2004/02/14/73108.aspx</link><description>My dad always used to say, &amp;#8220;Call me anything you want. Just don&amp;#8217;t call me late for dinner.&amp;#8221; If variables and functions in computer programs were sentient beings, I wonder if they&amp;#8217;d say the same thing. As religious wars go among</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Hungarian Notation</title><link>http://blogs.msdn.com/rick_schaut/archive/2004/02/14/73108.aspx#73120</link><pubDate>Sat, 14 Feb 2004 23:12:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:73120</guid><dc:creator>David Cumps</dc:creator><description>how about, intX and intY? no more &amp;quot;i&amp;quot; ;)</description></item><item><title>re: Hungarian Notation</title><link>http://blogs.msdn.com/rick_schaut/archive/2004/02/14/73108.aspx#73133</link><pubDate>Sat, 14 Feb 2004 23:37:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:73133</guid><dc:creator>Raymond Chen</dc:creator><description>I think you nailed it, Rick. People misunderstood Simonyi-style HN; in particular, it appears that Petzold did and popularized it though his books. So now everybody's primary exposure to HN is the Petzold style instead of the classic Simonyi style. And I don't blame them for hating it.&lt;br&gt;&lt;br&gt;It's Gresham's law: Bad drives out good.&lt;br&gt;</description></item><item><title>re: Hungarian Notation</title><link>http://blogs.msdn.com/rick_schaut/archive/2004/02/14/73108.aspx#73141</link><pubDate>Sat, 14 Feb 2004 23:58:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:73141</guid><dc:creator>Larry Osterman</dc:creator><description>The other thing to keep in mind is the difference between &amp;quot;Apps&amp;quot; hungarian and &amp;quot;Systems&amp;quot; hungarian.  Apps hungarian (also known as Klunder hungarian) is the brand of hungarian in Doug Klunder's hungarian naming convention memo.  This is pretty close to the pure Simonyi hungarian (although the Klunder memo isn't clear if the prefix represents the type or the usage of a variable (consider a char * that's used as an array of characters - is it a sz or is it an rgch?).&lt;br&gt;&lt;br&gt;Systems hungarian (also known as Ludwig hungarian) is the hungarian that the User team (led by Scott Ludwig) in Windows adopted for Windows 3.1.  That's the brand of hungarian that's used for many of the Windows headers, and is used for Petzolds book.  Systems hungarian is where you get wparam and lparam.&lt;br&gt;&lt;br&gt;It's not surprising that when Dave Cutler ran into Hungarian for the first time he declared it an abomination and banned it from the NT tree.&lt;br&gt;&lt;br&gt;Personally, I prefer Klunder's hungarian (with some modifications since Doug's paper's from 1989ish, and predates C++).&lt;br&gt;</description></item><item><title>re: Hungarian Notation</title><link>http://blogs.msdn.com/rick_schaut/archive/2004/02/14/73108.aspx#73191</link><pubDate>Sun, 15 Feb 2004 04:22:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:73191</guid><dc:creator>Rick Schaut</dc:creator><description>Someone misrepresenting himself as an emplyee of Microsoft wrote:&lt;br&gt;&lt;br&gt;&amp;quot;Hungarian is only a kludge for the development environment. &lt;br&gt;&lt;br&gt;&amp;quot;Now we have Intellisense, HN makes code like VB and COBOL, UNREADABLE due to the spam of TLAs. &lt;br&gt;&lt;br&gt;&amp;quot;For unmanaged code its pretty accepted to use HN but nowdays with better IDEs I now dont see the need. HN also gets in the way of well known terms, or formulas. &lt;br&gt;&lt;br&gt;&amp;quot;Can you imagine C = A+B becoming iC = iA+iB, or worse. it starts to lose its meaning for those well known terms. I sit down in the debugger with non developers for specalist implementations of formulas etc and HN is a no no there. &lt;br&gt;&lt;br&gt;&amp;quot;HN is dead. &lt;br&gt;&lt;br&gt;&amp;quot;Preprocessor DEFINES_BLAH_BLAH and MACROS_BLAH_BLAH along with HN are DEAD. They are a relic of the past and should be put to rest even in C/C++ and other unmanaged codebases. &lt;br&gt;&lt;br&gt;&amp;quot;Kill it.&amp;quot; &lt;br&gt;&lt;br&gt;He later added the following:&lt;br&gt;&lt;br&gt;&amp;quot;Why not use camelCase and PascalCase as you would on C# in C/C++ ?&lt;br&gt;&lt;br&gt;&amp;quot;Both have the same issues for language maintainability and readability, there is no difference, we have to cast in both languages. They are both type based languages.&lt;br&gt;&lt;br&gt;&amp;quot;Look at camelCase/PascalCase code readability compared to HN code. &lt;br&gt;&lt;br&gt;&amp;quot;HUGE difference. How often have you look at C++ code and just scratched your head trying to fight through the prefixes, macros and defines to see the actual REAL solution its implementing.&amp;quot;&lt;br&gt;&lt;br&gt;Due to this individual's misrepresentation of his identity, I've deleted the original entries, but requote them here to preserve the substance of his remarks.&lt;br&gt;</description></item><item><title>re: Hungarian Notation</title><link>http://blogs.msdn.com/rick_schaut/archive/2004/02/14/73108.aspx#73567</link><pubDate>Mon, 16 Feb 2004 05:39:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:73567</guid><dc:creator>Brad Abrams</dc:creator><description>The .NET Guidelines you reference only talk about publicly exposed surface area... what you do in your own code is up to you... I choose not to fight that battle.. :-)</description></item><item><title>re: Hungarian Notation</title><link>http://blogs.msdn.com/rick_schaut/archive/2004/02/14/73108.aspx#136075</link><pubDate>Thu, 20 May 2004 19:12:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:136075</guid><dc:creator>Kiliman</dc:creator><description>Considering that Petzold has had a lot of influence on Windows developers over the years, I was curious as to what he's been up to lately.&lt;br&gt;&lt;br&gt;Curiously, I haven't found any blogs or other writings that are recent. His website www.charlespetzold.com hasn't been updated in a while. &lt;br&gt;&lt;br&gt;I downloaded the companion code from his book &amp;quot;Programming in the Key of C#&amp;quot;. Not surprisingly, he continues his use of A-HN in the sample code (sorry for bad formatting):&lt;br&gt;&lt;br&gt;    static void DisplayLine(int i)&lt;br&gt;    {&lt;br&gt;        const int iWidth = 60;&lt;br&gt;        string strDots = new string('.', &lt;br&gt;            iWidth - (i + 1).ToString().Length &lt;br&gt;                   - astrChapter[i].Length &lt;br&gt;                   - aiPageNumber[i].ToString().Length);&lt;br&gt;&lt;br&gt;        Console.WriteLine(&amp;quot;{0}. {1}{2}{3}&amp;quot;, &lt;br&gt;            i + 1, astrChapter[i], strDots, aiPageNumber[i]);&lt;br&gt;    }&lt;br&gt;</description></item><item><title>Hungarian Notation (Again)</title><link>http://blogs.msdn.com/rick_schaut/archive/2004/02/14/73108.aspx#394047</link><pubDate>Fri, 11 Mar 2005 11:21:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:394047</guid><dc:creator>Buggin' My Life Away</dc:creator><description /></item><item><title>Hungarian Notation (Again)</title><link>http://blogs.msdn.com/rick_schaut/archive/2004/02/14/73108.aspx#394486</link><pubDate>Sat, 12 Mar 2005 16:22:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:394486</guid><dc:creator>Buggin' My Life Away</dc:creator><description /></item><item><title>ProgProg : Still searching for that silver bullet</title><link>http://blogs.msdn.com/rick_schaut/archive/2004/02/14/73108.aspx#824136</link><pubDate>Sat, 14 Oct 2006 07:12:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:824136</guid><dc:creator>ProgProg : Still searching for that silver bullet</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.progprog.com/articles/2006/10/13/still-searching-for-that-silver-bullet"&gt;http://www.progprog.com/articles/2006/10/13/still-searching-for-that-silver-bullet&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>Hungarian Ducks</title><link>http://blogs.msdn.com/rick_schaut/archive/2004/02/14/73108.aspx#2064431</link><pubDate>Tue, 10 Apr 2007 00:25:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2064431</guid><dc:creator>Hungarian Ducks</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://talklikeaduck.denhaven2.com/articles/2007/04/09/hungarian-ducks"&gt;http://talklikeaduck.denhaven2.com/articles/2007/04/09/hungarian-ducks&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>