<?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"
	>
<channel>
	<title>Comments on: The importance of naming</title>
	<atom:link href="http://www.magpiebrain.com/blog/2004/05/11/the-importance-of-naming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.magpiebrain.com/blog/2004/05/11/the-importance-of-naming/</link>
	<description>Sam Newman's blog</description>
	<pubDate>Fri, 21 Nov 2008 17:42:31 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Simon Brunning</title>
		<link>http://www.magpiebrain.com/blog/2004/05/11/the-importance-of-naming/#comment-358</link>
		<dc:creator>Simon Brunning</dc:creator>
		<pubDate>Tue, 18 May 2004 15:33:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2004/05/11/the-importance-of-naming/#comment-358</guid>
		<description>Ooooh! Ooooh! Check out Naming Classes - Do It Once And Do It Right[1].

[1] http://www.hacknot.info/hacknot/action/showEntry?eid=48
</description>
		<content:encoded><![CDATA[<p>Ooooh! Ooooh! Check out Naming Classes - Do It Once And Do It Right[1].</p>
<p>[1] <a href="http://www.hacknot.info/hacknot/action/showEntry?eid=48"  rel="nofollow">http://www.hacknot.info/hacknot/action/showEntry?eid=48</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam Newman</title>
		<link>http://www.magpiebrain.com/blog/2004/05/11/the-importance-of-naming/#comment-357</link>
		<dc:creator>Sam Newman</dc:creator>
		<pubDate>Wed, 12 May 2004 13:40:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2004/05/11/the-importance-of-naming/#comment-357</guid>
		<description>Another bugbear of mine - redundant naming. The current project I'm working on has lots of this - things like a class called @Catalogue@ with methods like @catalogueName@, @catalogueItems@ etc.</description>
		<content:encoded><![CDATA[<p>Another bugbear of mine - redundant naming. The current project I&#8217;m working on has lots of this - things like a class called @Catalogue@ with methods like @catalogueName@, @catalogueItems@ etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: choy</title>
		<link>http://www.magpiebrain.com/blog/2004/05/11/the-importance-of-naming/#comment-356</link>
		<dc:creator>choy</dc:creator>
		<pubDate>Wed, 12 May 2004 11:39:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2004/05/11/the-importance-of-naming/#comment-356</guid>
		<description>I agree. Naming is hard. But I have this bad habit of trying to get things perfect before starting things so I've been experimenting with refactoring techniques to keep things moving. I let myself permission to get the name wrong. It's tough for me to do this. I keep convincing myself, "I'll refactor this later." In the name of progress, I plod on.

Other approaches I've seen:
* nonsense words, e.g. "fargle"
* generic naming, e.g. "doit"
* frozen naming, "print()" when the function no longer does any printing.

One thing that could ease the stress of name changing would be to decouple the method and class names from the implementing methods and classes. Kinda like COM uuids. Or even go farther and have the platform support some sort of interface specification which is a hash of the entire interface including all signatures. Kind of like language support for the automating the Adapter Pattern. hmmm, perhaps something like that is already possible through dynamic proxies ...</description>
		<content:encoded><![CDATA[<p>I agree. Naming is hard. But I have this bad habit of trying to get things perfect before starting things so I&#8217;ve been experimenting with refactoring techniques to keep things moving. I let myself permission to get the name wrong. It&#8217;s tough for me to do this. I keep convincing myself, &#8220;I&#8217;ll refactor this later.&#8221; In the name of progress, I plod on.</p>
<p>Other approaches I&#8217;ve seen:<br />
* nonsense words, e.g. &#8220;fargle&#8221;<br />
* generic naming, e.g. &#8220;doit&#8221;<br />
* frozen naming, &#8220;print()&#8221; when the function no longer does any printing.</p>
<p>One thing that could ease the stress of name changing would be to decouple the method and class names from the implementing methods and classes. Kinda like COM uuids. Or even go farther and have the platform support some sort of interface specification which is a hash of the entire interface including all signatures. Kind of like language support for the automating the Adapter Pattern. hmmm, perhaps something like that is already possible through dynamic proxies &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam Newman</title>
		<link>http://www.magpiebrain.com/blog/2004/05/11/the-importance-of-naming/#comment-355</link>
		<dc:creator>Sam Newman</dc:creator>
		<pubDate>Tue, 11 May 2004 10:50:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2004/05/11/the-importance-of-naming/#comment-355</guid>
		<description>I kind of agree. If you have a problem naming something it tends to be either because:

* You don't have an adequate vocabulary (fairly rare)
* You don't understand what your doing enough to give it a name

In the second case, if you don't understand exactly what the code is supposed to do, then why are you doing it? Oh, and a minor woho! - this is the 300th comment...</description>
		<content:encoded><![CDATA[<p>I kind of agree. If you have a problem naming something it tends to be either because:</p>
<p>* You don&#8217;t have an adequate vocabulary (fairly rare)<br />
* You don&#8217;t understand what your doing enough to give it a name</p>
<p>In the second case, if you don&#8217;t understand exactly what the code is supposed to do, then why are you doing it? Oh, and a minor woho! - this is the 300th comment&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon Brunning</title>
		<link>http://www.magpiebrain.com/blog/2004/05/11/the-importance-of-naming/#comment-354</link>
		<dc:creator>Simon Brunning</dc:creator>
		<pubDate>Tue, 11 May 2004 10:45:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2004/05/11/the-importance-of-naming/#comment-354</guid>
		<description>I've long thought that difficulty in naming something accurately and succinctly can be a very good indication that there is a problem with the thing's very existence. A function or method can be very hard to name accurately and succinctly if it does more than one thing, for example – but then, a function that does more than one thing should be split into more than one function. The same applies to classes, variables, you name it.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve long thought that difficulty in naming something accurately and succinctly can be a very good indication that there is a problem with the thing&#8217;s very existence. A function or method can be very hard to name accurately and succinctly if it does more than one thing, for example – but then, a function that does more than one thing should be split into more than one function. The same applies to classes, variables, you name it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
