<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: My case for Hungarian Notation</title>
	<atom:link href="http://www.ghidinelli.com/2008/11/23/my-case-for-hungarian-notation/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ghidinelli.com/2008/11/23/my-case-for-hungarian-notation</link>
	<description></description>
	<lastBuildDate>Thu, 01 Jun 2017 18:51:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: brian</title>
		<link>http://www.ghidinelli.com/2008/11/23/my-case-for-hungarian-notation/comment-page-1#comment-52823</link>
		<dc:creator>brian</dc:creator>
		<pubDate>Fri, 12 Dec 2008 22:30:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghidinelli.com/?p=189#comment-52823</guid>
		<description>There&#039;s something about Sean&#039;s response that I disagree with but I haven&#039;t yet been able to write it succinctly. :)   

I think critiquing HN on readability is a red herring though.  In any environment - be it solo work, a job or an open source project, there are standards for coding.  They may be ones you create on the fly or ones you adhere to because your manager says so, but I don&#039;t think a set of prefixes which can be understood in sixty seconds is a good reason to not use HN.  

To the contrary, the context that HN prefixes offer in my opinion makes code more readable (and especially more maintainable when you return to code six months later...).</description>
		<content:encoded><![CDATA[<p>There&#8217;s something about Sean&#8217;s response that I disagree with but I haven&#8217;t yet been able to write it succinctly. <img src='http://www.ghidinelli.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />    </p>
<p>I think critiquing HN on readability is a red herring though.  In any environment &#8211; be it solo work, a job or an open source project, there are standards for coding.  They may be ones you create on the fly or ones you adhere to because your manager says so, but I don&#8217;t think a set of prefixes which can be understood in sixty seconds is a good reason to not use HN.  </p>
<p>To the contrary, the context that HN prefixes offer in my opinion makes code more readable (and especially more maintainable when you return to code six months later&#8230;).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Nadel</title>
		<link>http://www.ghidinelli.com/2008/11/23/my-case-for-hungarian-notation/comment-page-1#comment-52822</link>
		<dc:creator>Ben Nadel</dc:creator>
		<pubDate>Fri, 12 Dec 2008 22:12:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghidinelli.com/?p=189#comment-52822</guid>
		<description>@Sean,

I&#039;ll go along with you on that one :)</description>
		<content:encoded><![CDATA[<p>@Sean,</p>
<p>I&#8217;ll go along with you on that one <img src='http://www.ghidinelli.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean Corfield</title>
		<link>http://www.ghidinelli.com/2008/11/23/my-case-for-hungarian-notation/comment-page-1#comment-52821</link>
		<dc:creator>Sean Corfield</dc:creator>
		<pubDate>Fri, 12 Dec 2008 22:06:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghidinelli.com/?p=189#comment-52821</guid>
		<description>&quot;feels like hungarian&quot; but &quot;is more readable&quot; :)

I would only have the name describe the implementation semantics if it was particularly important (such as your example of having the same data in two different formats in a single function).

If the implementation is either &quot;obvious&quot; or irrelevant, I would omit it from the name (and that is usually the case). If your functions are small, you can easily see how a name is used and the actual implementation is &quot;irrelevant&quot;.

For me, readable code always takes precedence.</description>
		<content:encoded><![CDATA[<p>&#8220;feels like hungarian&#8221; but &#8220;is more readable&#8221; <img src='http://www.ghidinelli.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I would only have the name describe the implementation semantics if it was particularly important (such as your example of having the same data in two different formats in a single function).</p>
<p>If the implementation is either &#8220;obvious&#8221; or irrelevant, I would omit it from the name (and that is usually the case). If your functions are small, you can easily see how a name is used and the actual implementation is &#8220;irrelevant&#8221;.</p>
<p>For me, readable code always takes precedence.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Nadel</title>
		<link>http://www.ghidinelli.com/2008/11/23/my-case-for-hungarian-notation/comment-page-1#comment-52820</link>
		<dc:creator>Ben Nadel</dc:creator>
		<pubDate>Fri, 12 Dec 2008 22:01:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghidinelli.com/?p=189#comment-52820</guid>
		<description>@Sean,

While yours is slightly more readable, your notation feels just like hungarian notation as well, just with the data type in a different place.

Not to say that I don&#039;t prefer yours; just saying that implementation is very similar.</description>
		<content:encoded><![CDATA[<p>@Sean,</p>
<p>While yours is slightly more readable, your notation feels just like hungarian notation as well, just with the data type in a different place.</p>
<p>Not to say that I don&#8217;t prefer yours; just saying that implementation is very similar.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean Corfield</title>
		<link>http://www.ghidinelli.com/2008/11/23/my-case-for-hungarian-notation/comment-page-1#comment-52819</link>
		<dc:creator>Sean Corfield</dc:creator>
		<pubDate>Fri, 12 Dec 2008 21:53:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghidinelli.com/?p=189#comment-52819</guid>
		<description>@Ben, which is more readable?

strIDs or idList?

arrIDs or idArray?

I&#039;m all for readable, English, semantically correct names. I&#039;m against cryptic prefixes that make code hard to read.</description>
		<content:encoded><![CDATA[<p>@Ben, which is more readable?</p>
<p>strIDs or idList?</p>
<p>arrIDs or idArray?</p>
<p>I&#8217;m all for readable, English, semantically correct names. I&#8217;m against cryptic prefixes that make code hard to read.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brian</title>
		<link>http://www.ghidinelli.com/2008/11/23/my-case-for-hungarian-notation/comment-page-1#comment-52813</link>
		<dc:creator>brian</dc:creator>
		<pubDate>Fri, 12 Dec 2008 16:41:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghidinelli.com/?p=189#comment-52813</guid>
		<description>@dickbob - insightful comment about calling it a &quot;design pattern&quot; to legitimize HN!</description>
		<content:encoded><![CDATA[<p>@dickbob &#8211; insightful comment about calling it a &#8220;design pattern&#8221; to legitimize HN!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Nadel</title>
		<link>http://www.ghidinelli.com/2008/11/23/my-case-for-hungarian-notation/comment-page-1#comment-52811</link>
		<dc:creator>Ben Nadel</dc:creator>
		<pubDate>Fri, 12 Dec 2008 15:13:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghidinelli.com/?p=189#comment-52811</guid>
		<description>One of the things I like about this way of doing things is that you can easily tell between two different forms of the same data. For example:

strIDs = &quot;1,2,3&quot;
arrIDs = ListToArray( strIDs )

really, there&#039;s no different between the INTENT of these two forms of data, so, I don&#039;t think they really require different names. They are just different formats of the same thing. But, with hungarian notation, you can easily tell the difference. 

Sure, you could do something like:

IDList = &quot;1,2,3&quot;
IDs = ListToArray( IDList )

But to mean, this feels much more awkward.</description>
		<content:encoded><![CDATA[<p>One of the things I like about this way of doing things is that you can easily tell between two different forms of the same data. For example:</p>
<p>strIDs = &#8220;1,2,3&#8243;<br />
arrIDs = ListToArray( strIDs )</p>
<p>really, there&#8217;s no different between the INTENT of these two forms of data, so, I don&#8217;t think they really require different names. They are just different formats of the same thing. But, with hungarian notation, you can easily tell the difference. </p>
<p>Sure, you could do something like:</p>
<p>IDList = &#8220;1,2,3&#8243;<br />
IDs = ListToArray( IDList )</p>
<p>But to mean, this feels much more awkward.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dickbob</title>
		<link>http://www.ghidinelli.com/2008/11/23/my-case-for-hungarian-notation/comment-page-1#comment-52798</link>
		<dc:creator>dickbob</dc:creator>
		<pubDate>Fri, 12 Dec 2008 09:03:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghidinelli.com/?p=189#comment-52798</guid>
		<description>@Sean, yeah I had to go into therapy for three years after your comments but I&#039;ve now come to terms with the fact that Sean won&#039;t hire me ;-)

To quote the &quot;it depends&quot; justification for a lot of differing opinions, I reckon it depends if the convention helps you structure your code in a predicable and logical manner that allows other to follow with ease. 

Hey, if we all called it a Design Pattern it would be acceptable for people to hold differing opinions on the concept and implementation and for them all to valid and &quot;cool&quot; ;-)</description>
		<content:encoded><![CDATA[<p>@Sean, yeah I had to go into therapy for three years after your comments but I&#8217;ve now come to terms with the fact that Sean won&#8217;t hire me <img src='http://www.ghidinelli.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>To quote the &#8220;it depends&#8221; justification for a lot of differing opinions, I reckon it depends if the convention helps you structure your code in a predicable and logical manner that allows other to follow with ease. </p>
<p>Hey, if we all called it a Design Pattern it would be acceptable for people to hold differing opinions on the concept and implementation and for them all to valid and &#8220;cool&#8221; <img src='http://www.ghidinelli.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean Corfield</title>
		<link>http://www.ghidinelli.com/2008/11/23/my-case-for-hungarian-notation/comment-page-1#comment-52795</link>
		<dc:creator>Sean Corfield</dc:creator>
		<pubDate>Fri, 12 Dec 2008 03:22:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghidinelli.com/?p=189#comment-52795</guid>
		<description>@dickbob, don&#039;t get me started! :)

I still stand by that blog post (from three and a half years ago - OMG!) which comments on Joel&#039;s &quot;Wrong&quot; article...</description>
		<content:encoded><![CDATA[<p>@dickbob, don&#8217;t get me started! <img src='http://www.ghidinelli.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I still stand by that blog post (from three and a half years ago &#8211; OMG!) which comments on Joel&#8217;s &#8220;Wrong&#8221; article&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dickbob</title>
		<link>http://www.ghidinelli.com/2008/11/23/my-case-for-hungarian-notation/comment-page-1#comment-52451</link>
		<dc:creator>dickbob</dc:creator>
		<pubDate>Wed, 26 Nov 2008 15:23:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghidinelli.com/?p=189#comment-52451</guid>
		<description>Like you Brian I take comfort in the same features of Hungarian notation although, according to Wikipedia we should be calling it Systems Hungarian notation...

http://en.wikipedia.org/wiki/Hungarian_notation

I think if you read the whole of the Joel article I&#039;m not sure that he is agreeing with us. I think he likes Apps Hungarian but not necesarly Systems Hungarian. Plus you&#039;ll attract the scour of Sean...

http://www.corfield.org/blog/index.cfm?do=blog.entry&amp;entry=D1CB9656-0284-4F53-209C8F9F6159FB8D

...and get put on his DNH list!</description>
		<content:encoded><![CDATA[<p>Like you Brian I take comfort in the same features of Hungarian notation although, according to Wikipedia we should be calling it Systems Hungarian notation&#8230;</p>
<p><a href="http://en.wikipedia.org/wiki/Hungarian_notation" rel="nofollow">http://en.wikipedia.org/wiki/Hungarian_notation</a></p>
<p>I think if you read the whole of the Joel article I&#8217;m not sure that he is agreeing with us. I think he likes Apps Hungarian but not necesarly Systems Hungarian. Plus you&#8217;ll attract the scour of Sean&#8230;</p>
<p><a href="http://www.corfield.org/blog/index.cfm?do=blog.entry&amp;entry=D1CB9656-0284-4F53-209C8F9F6159FB8D" rel="nofollow">http://www.corfield.org/blog/index.cfm?do=blog.entry&amp;entry=D1CB9656-0284-4F53-209C8F9F6159FB8D</a></p>
<p>&#8230;and get put on his DNH list!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
