<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>sides of march &#187; naming conventions</title>
	<atom:link href="http://www.sidesofmarch.com/index.php/archive/tag/naming-conventions/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sidesofmarch.com</link>
	<description>Thoughts on life, liberty, and information technology</description>
	<lastBuildDate>Mon, 16 Jan 2012 02:43:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>&#8216;Shutdown&#8217; or &#8216;Shut Down&#8217;?</title>
		<link>http://www.sidesofmarch.com/index.php/archive/2008/12/08/shutdown-or-shut-down/</link>
		<comments>http://www.sidesofmarch.com/index.php/archive/2008/12/08/shutdown-or-shut-down/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 17:37:37 +0000</pubDate>
		<dc:creator>brian</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[naming conventions]]></category>

		<guid isPermaLink="false">http://www.sidesofmarch.com/?p=304</guid>
		<description><![CDATA[<p>Which one is correct?</p>
<blockquote><p>ShutDown()
or
Shutdown()</p></blockquote>
<p>I&#8217;m not quite sure. Seems many Windows API calls reference it as <a title="Shutdown Method of the Win32_OperatingSystem Class" href="http://msdn.microsoft.com/en-us/library/aa393627(VS.85).aspx">Shutdown</a>. Not being convinced, I did a <a title="&#34;shutdown or shut down&#34; Google Search" href="http://www.google.com/search?q=&#34;shutdown+or+shut+down&#34;">Google search</a>, and found an article on <a title="Grammar review: Verb+particle versus compound noun" href="http://blogs.msdn.com/oldnewthing/archive/2006/09/12/750575.aspx">The Old New Thing</a> that summarizes why there is confusion.</p>
<p>Basically, it boils down to this:</p>
<blockquote><p>shutdown = noun</p>
<p>shut down = verb</p></blockquote>
<p>So, my method is called ShutDown, because methods should be action phrases (verbs). The enum value will be Shutdown, because that&#8217;s a noun (the state of something).</p>
<p>Who says all those grammar classes in grade school don&#8217;t apply to programming?</p>
<a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a <span style="color:#777"> . . .<br /><br />&#8594; Read More: <a href="http://www.sidesofmarch.com/index.php/archive/2008/12/08/shutdown-or-shut-down/">&#8216;Shutdown&#8217; or &#8216;Shut Down&#8217;?</a></span>]]></description>
			<content:encoded><![CDATA[<p>Which one is correct?</p>
<blockquote><p><code>ShutDown()</code><br />
or<code><br />
Shutdown()</code></p></blockquote>
<p>I&#8217;m not quite sure. Seems many Windows API calls reference it as <a title="Shutdown Method of the Win32_OperatingSystem Class" href="http://redirectingat.com?id=17923X751173&xs=1&url=http%3A%2F%2Fmsdn.microsoft.com%2Fen-us%2Flibrary%2Faa393627%28VS.85%29.aspx&sref=rss">Shutdown</a>. Not being convinced, I did a <a title="&quot;shutdown or shut down&quot; Google Search" href="http://redirectingat.com?id=17923X751173&xs=1&url=http%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3D%26quot%3Bshutdown%2Bor%2Bshut%2Bdown%26quot%3B&sref=rss">Google search</a>, and found an article on <a title="Grammar review: Verb+particle versus compound noun" href="http://redirectingat.com?id=17923X751173&xs=1&url=http%3A%2F%2Fblogs.msdn.com%2Foldnewthing%2Farchive%2F2006%2F09%2F12%2F750575.aspx&sref=rss">The Old New Thing</a> that summarizes why there is confusion.</p>
<p>Basically, it boils down to this:</p>
<blockquote><p>shutdown = noun</p>
<p>shut down = verb</p></blockquote>
<p>So, my method is called <code>ShutDown</code>, because methods should be action phrases (verbs). The enum value will be <code>Shutdown</code>, because that&#8217;s a noun (the state of something).</p>
<p>Who says all those grammar classes in grade school don&#8217;t apply to programming?</p>
<img src="http://www.sidesofmarch.com/?ak_action=api_record_view&id=304&type=feed" alt="" /><div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.sidesofmarch.com/index.php/archive/2008/12/08/shutdown-or-shut-down/' addthis:title='&#8216;Shutdown&#8217; or &#8216;Shut Down&#8217;? ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.sidesofmarch.com/index.php/archive/2008/12/08/shutdown-or-shut-down/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

