<?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: File Naming&#160;Tips</title>
	<atom:link href="http://particletree.com/notebook/file-naming-tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://particletree.com/notebook/file-naming-tips/</link>
	<description>Everyone needs a hug.</description>
	<lastBuildDate>Mon, 16 Nov 2009 21:43:07 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: id</title>
		<link>http://particletree.com/notebook/file-naming-tips/comment-page-1/#comment-931</link>
		<dc:creator>id</dc:creator>
		<pubDate>Tue, 17 Oct 2006 00:37:53 +0000</pubDate>
		<guid isPermaLink="false">http://s2462.gridserver.com/wordpress/?p=127#comment-931</guid>
		<description>&lt;p&gt;Everyone needs a hug.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Everyone needs a hug.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Clark</title>
		<link>http://particletree.com/notebook/file-naming-tips/comment-page-1/#comment-930</link>
		<dc:creator>Michael Clark</dc:creator>
		<pubDate>Wed, 05 Oct 2005 05:24:23 +0000</pubDate>
		<guid isPermaLink="false">http://s2462.gridserver.com/wordpress/?p=127#comment-930</guid>
		<description>&lt;p&gt;When you use numbers for dates, use yyyymmdd format, so that the filenames will sort next to each other. Then you can find the code you worked on last Spring fairly easily. Or last year. If you do it as mmddyyyy, all of your September articles will be next to each other.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>When you use numbers for dates, use yyyymmdd format, so that the filenames will sort next to each other. Then you can find the code you worked on last Spring fairly easily. Or last year. If you do it as mmddyyyy, all of your September articles will be next to each other.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Hale</title>
		<link>http://particletree.com/notebook/file-naming-tips/comment-page-1/#comment-929</link>
		<dc:creator>Kevin Hale</dc:creator>
		<pubDate>Thu, 29 Sep 2005 01:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://s2462.gridserver.com/wordpress/?p=127#comment-929</guid>
		<description>&lt;p&gt;In writing, they&#039;re also known as intercaps, incaps, midcaps and BiCaps. But I think in referene to programming, they&#039;re just CamelCase.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>In writing, they&#8217;re also known as intercaps, incaps, midcaps and BiCaps. But I think in referene to programming, they&#8217;re just CamelCase.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Campbell</title>
		<link>http://particletree.com/notebook/file-naming-tips/comment-page-1/#comment-928</link>
		<dc:creator>Ryan Campbell</dc:creator>
		<pubDate>Wed, 28 Sep 2005 17:37:35 +0000</pubDate>
		<guid isPermaLink="false">http://s2462.gridserver.com/wordpress/?p=127#comment-928</guid>
		<description>&lt;p&gt;I was actually unaware of that. Thanks for pointing it out.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I was actually unaware of that. Thanks for pointing it out.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Walter</title>
		<link>http://particletree.com/notebook/file-naming-tips/comment-page-1/#comment-927</link>
		<dc:creator>Jeff Walter</dc:creator>
		<pubDate>Wed, 28 Sep 2005 17:00:35 +0000</pubDate>
		<guid isPermaLink="false">http://s2462.gridserver.com/wordpress/?p=127#comment-927</guid>
		<description>&lt;p&gt;The common term for the &quot;lowercase/uppercase scheme&quot; you use for function and variable names is &quot;CamelCase&quot;.  I&#039;m guessing you may have known that, but avoided using the term so as not to confuse the uninitiated.&lt;/p&gt;

&lt;p&gt;Cheers!&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/CamelCase&quot; rel=&quot;nofollow&quot;&gt;http://en.wikipedia.org/wiki/CamelCase&lt;/a&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>The common term for the &#8220;lowercase/uppercase scheme&#8221; you use for function and variable names is &#8220;CamelCase&#8221;.  I&#8217;m guessing you may have known that, but avoided using the term so as not to confuse the uninitiated.</p>

<p>Cheers!</p>

<p><a href="http://en.wikipedia.org/wiki/CamelCase" rel="nofollow">http://en.wikipedia.org/wiki/CamelCase</a></p>]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://particletree.com/notebook/file-naming-tips/comment-page-1/#comment-926</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Thu, 22 Sep 2005 04:57:28 +0000</pubDate>
		<guid isPermaLink="false">http://s2462.gridserver.com/wordpress/?p=127#comment-926</guid>
		<description>&lt;p&gt;Backwards naming.  I shall begin to use it right away. Thanks!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Backwards naming.  I shall begin to use it right away. Thanks!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Campbell</title>
		<link>http://particletree.com/notebook/file-naming-tips/comment-page-1/#comment-925</link>
		<dc:creator>Ryan Campbell</dc:creator>
		<pubDate>Wed, 21 Sep 2005 00:08:01 +0000</pubDate>
		<guid isPermaLink="false">http://s2462.gridserver.com/wordpress/?p=127#comment-925</guid>
		<description>&lt;p&gt;I agree with your &quot;post-add&quot;, &quot;post-view&quot; example. That is what I was trying to get across in my first point, but I screwed up and used the capital letters again. It&#039;s a bad habit I have to break.&lt;/p&gt;

&lt;p&gt;As far as coding goes, I&#039;m still not against capital letters. I would prefer &lt;code&gt;addEmployee()&lt;/code&gt; to &lt;code&gt;addemployee()&lt;/code&gt; or &lt;code&gt;add_employee()&lt;/code&gt;. I&#039;m interested to hear your take on this though.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I agree with your &#8220;post-add&#8221;, &#8220;post-view&#8221; example. That is what I was trying to get across in my first point, but I screwed up and used the capital letters again. It&#8217;s a bad habit I have to break.</p>

<p>As far as coding goes, I&#8217;m still not against capital letters. I would prefer <code>addEmployee()</code> to <code>addemployee()</code> or <code>add_employee()</code>. I&#8217;m interested to hear your take on this though.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Derek ORgan</title>
		<link>http://particletree.com/notebook/file-naming-tips/comment-page-1/#comment-924</link>
		<dc:creator>Derek ORgan</dc:creator>
		<pubDate>Tue, 20 Sep 2005 20:06:52 +0000</pubDate>
		<guid isPermaLink="false">http://s2462.gridserver.com/wordpress/?p=127#comment-924</guid>
		<description>&lt;p&gt;I&#039;m totally against increasing your pool of letters by using uppercase. It makes it nearly impossible to guess the name of a function when you know its purpose.  There is not argument for this that is reasonable and I can&#039;t understand why people advocate it and in some cases suggest it to be the only way. ( I know you are not saying it is the right way I&#039;m just venting)&lt;/p&gt;

&lt;p&gt;Also another tip to naming files is to have a prefix for files that are associated to each other by entity.&lt;/p&gt;

&lt;p&gt;post-add.php
post-edit.php
post-view.php
post-search.php&lt;/p&gt;

&lt;p&gt;Again no uppercase and with this convention you always know were to look.  Also entities should always be singular. So &#039;post&#039; as opposed to &#039;posts&#039;.  This also applies to database naming convention.&lt;/p&gt;

&lt;p&gt;I actually use underscore instead of hyphen but I take your point about the shit key and might write it into our code guidelines although i don&#039;t think it makes much of a difference.  The random uppercase letters does get on my nerves though.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#8217;m totally against increasing your pool of letters by using uppercase. It makes it nearly impossible to guess the name of a function when you know its purpose.  There is not argument for this that is reasonable and I can&#8217;t understand why people advocate it and in some cases suggest it to be the only way. ( I know you are not saying it is the right way I&#8217;m just venting)</p>

<p>Also another tip to naming files is to have a prefix for files that are associated to each other by entity.</p>

<p>post-add.php
post-edit.php
post-view.php
post-search.php</p>

<p>Again no uppercase and with this convention you always know were to look.  Also entities should always be singular. So &#8216;post&#8217; as opposed to &#8216;posts&#8217;.  This also applies to database naming convention.</p>

<p>I actually use underscore instead of hyphen but I take your point about the shit key and might write it into our code guidelines although i don&#8217;t think it makes much of a difference.  The random uppercase letters does get on my nerves though.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Campbell</title>
		<link>http://particletree.com/notebook/file-naming-tips/comment-page-1/#comment-923</link>
		<dc:creator>Ryan Campbell</dc:creator>
		<pubDate>Tue, 20 Sep 2005 18:22:49 +0000</pubDate>
		<guid isPermaLink="false">http://s2462.gridserver.com/wordpress/?p=127#comment-923</guid>
		<description>&lt;p&gt;I just reread my post and I phrased the last point in a confusing manner. I actually am in favor of lowercase, and against uppercase. I was giving an example of how I incorrectly use uppercase based on my programming habits.  Sorry for the confusion - I&#039;ll update the post.&lt;/p&gt;

&lt;p&gt;As far as underscores go, there are plenty of arguments for and against them. We just happen to be against them. I wouldn&#039;t say it is wrong to use them, we just prefer not to.&lt;/p&gt;

&lt;p&gt;I agree with your point against weeklyFeature. Your example would become confusing.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I just reread my post and I phrased the last point in a confusing manner. I actually am in favor of lowercase, and against uppercase. I was giving an example of how I incorrectly use uppercase based on my programming habits.  Sorry for the confusion - I&#8217;ll update the post.</p>

<p>As far as underscores go, there are plenty of arguments for and against them. We just happen to be against them. I wouldn&#8217;t say it is wrong to use them, we just prefer not to.</p>

<p>I agree with your point against weeklyFeature. Your example would become confusing.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://particletree.com/notebook/file-naming-tips/comment-page-1/#comment-922</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Tue, 20 Sep 2005 17:46:20 +0000</pubDate>
		<guid isPermaLink="false">http://s2462.gridserver.com/wordpress/?p=127#comment-922</guid>
		<description>&lt;p&gt;The &quot;weeklyFeature&quot; instean of just &quot;feature&quot; is mostly used due to editor limitations. When the tabs only display the filenames, and you have feature/weekly, dates/weekly, and tips/weekly, you have a hard time.&lt;/p&gt;

&lt;p&gt;I do not buy your first objection against the underscore. It does need the shift key, so does using uppercase letters as in your final point.&lt;/p&gt;

&lt;p&gt;I also do not quite buy your argument about the underscore blending into the link underline. The link is still clickable, and one cut &amp; pastes the linktext and does not transscribe it.&lt;/p&gt;

&lt;p&gt;A point against hyphens in filenames might be broken mailclients which break lines on hyphens, if you send the links as plain text.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>The &#8220;weeklyFeature&#8221; instean of just &#8220;feature&#8221; is mostly used due to editor limitations. When the tabs only display the filenames, and you have feature/weekly, dates/weekly, and tips/weekly, you have a hard time.</p>

<p>I do not buy your first objection against the underscore. It does need the shift key, so does using uppercase letters as in your final point.</p>

<p>I also do not quite buy your argument about the underscore blending into the link underline. The link is still clickable, and one cut &amp; pastes the linktext and does not transscribe it.</p>

<p>A point against hyphens in filenames might be broken mailclients which break lines on hyphens, if you send the links as plain text.</p>]]></content:encoded>
	</item>
</channel>
</rss>
