<?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 Coding Style</title>
	<atom:link href="http://www.tutwow.com/php/my-coding-style/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tutwow.com/htmlcss/my-coding-style/</link>
	<description>Playing Creativity Tag</description>
	<lastBuildDate>Wed, 01 Feb 2012 05:26:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Ben Lind</title>
		<link>http://www.tutwow.com/htmlcss/my-coding-style/comment-page-1/#comment-6315</link>
		<dc:creator>Ben Lind</dc:creator>
		<pubDate>Thu, 26 Jan 2012 14:09:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.tutwow.com/WP25/?p=10#comment-6315</guid>
		<description>Thanks for the link - that article has some good stuff. I remember hearing that single quotes are faster than doubles, so usually I use singles unless I want to be able to have inline variables. (note that this article is four years old, and my coding styles have changed since then)</description>
		<content:encoded><![CDATA[<p>Thanks for the link &#8211; that article has some good stuff. I remember hearing that single quotes are faster than doubles, so usually I use singles unless I want to be able to have inline variables. (note that this article is four years old, and my coding styles have changed since then)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dyllon</title>
		<link>http://www.tutwow.com/htmlcss/my-coding-style/comment-page-1/#comment-6313</link>
		<dc:creator>Dyllon</dc:creator>
		<pubDate>Thu, 26 Jan 2012 06:25:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.tutwow.com/WP25/?p=10#comment-6313</guid>
		<description>I noticed you use double quotes ( &quot; ) instead of single ones ( &#039; ) when you echo. From what I&#039;ve read is while the double quotes allow you to use variables in them, it takes longer to process them for that matter.

Reference:
&lt;a href=&quot;http://www.phpvs.net/2008/06/04/ten-php-best-practices-tips-that-will-get-you-a-job/&quot; rel=&quot;nofollow&quot;&gt;http://www.phpvs.net/2008/06/04/ten-php-best-practices-tips-that-will-get-you-a-job/&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>I noticed you use double quotes ( &#8221; ) instead of single ones ( &#8216; ) when you echo. From what I&#8217;ve read is while the double quotes allow you to use variables in them, it takes longer to process them for that matter.</p>
<p>Reference:<br />
<a href="http://www.phpvs.net/2008/06/04/ten-php-best-practices-tips-that-will-get-you-a-job/" >http://www.phpvs.net/2008/06/04/ten-php-best-practices-tips-that-will-get-you-a-job/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Daley</title>
		<link>http://www.tutwow.com/htmlcss/my-coding-style/comment-page-1/#comment-1420</link>
		<dc:creator>Jon Daley</dc:creator>
		<pubDate>Sat, 22 Aug 2009 14:14:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.tutwow.com/WP25/?p=10#comment-1420</guid>
		<description>I am big on comments, but extra comments just waste space - I only read two lines of your first example, and I think the second comment shouldn&#039;t be there:

Code: unset($_SESSION[&quot;useredit&quot;);
Comment // unset the useredit variable

A better comment would be *why* are you unsetting it every time it is set - perhaps it shouldn&#039;t be a session variable?</description>
		<content:encoded><![CDATA[<p>I am big on comments, but extra comments just waste space &#8211; I only read two lines of your first example, and I think the second comment shouldn&#8217;t be there:</p>
<p>Code: unset($_SESSION[&#8220;useredit&#8221;);<br />
Comment // unset the useredit variable</p>
<p>A better comment would be *why* are you unsetting it every time it is set &#8211; perhaps it shouldn&#8217;t be a session variable?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://www.tutwow.com/htmlcss/my-coding-style/comment-page-1/#comment-1414</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Wed, 19 Aug 2009 11:08:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.tutwow.com/WP25/?p=10#comment-1414</guid>
		<description>What about structuring your code into classes and functions? Then you have come somewhere. And read Code Complete.</description>
		<content:encoded><![CDATA[<p>What about structuring your code into classes and functions? Then you have come somewhere. And read Code Complete.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Montana Flynn</title>
		<link>http://www.tutwow.com/htmlcss/my-coding-style/comment-page-1/#comment-1375</link>
		<dc:creator>Montana Flynn</dc:creator>
		<pubDate>Tue, 09 Jun 2009 07:55:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.tutwow.com/WP25/?p=10#comment-1375</guid>
		<description>Great post, I really need to start doing this with my code since I am a total novice in PHP.   Thanks to Iain as well.</description>
		<content:encoded><![CDATA[<p>Great post, I really need to start doing this with my code since I am a total novice in PHP.   Thanks to Iain as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Iain Nash - Code Joust</title>
		<link>http://www.tutwow.com/htmlcss/my-coding-style/comment-page-1/#comment-507</link>
		<dc:creator>Iain Nash - Code Joust</dc:creator>
		<pubDate>Tue, 07 Apr 2009 13:12:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.tutwow.com/WP25/?p=10#comment-507</guid>
		<description>Really, Really great article.
However, I think this should be filed under php also... you rarely have to do this with HTML.
Another thing is the general syntax for docblocks (as they are called) is /** (line) ** (line) **/, which is colored differently in IDEs and interpreted by robots (if you ever need that done) as standard documentation.
And http://aptana.com/ is my favorite ide, and it colors everything, and offers a &quot;format&quot; function, which is nice if you copy+pasted stuff, wrote quickly and forgot to indent/space etc.
And-- Don&#039;t worry about the size of your comments, they won&#039;t increase load time.
The Zend articles are very good covering this.
Another tidbit is that it is MUCH better to use &lt;?php to open php, and, if your file is php-only, you don&#039;t need closing tags, in fact, that decreases the processing time.

Iain Nash - http://codejoust.com/</description>
		<content:encoded><![CDATA[<p>Really, Really great article.<br />
However, I think this should be filed under php also&#8230; you rarely have to do this with HTML.<br />
Another thing is the general syntax for docblocks (as they are called) is /** (line) ** (line) **/, which is colored differently in IDEs and interpreted by robots (if you ever need that done) as standard documentation.<br />
And http://aptana.com/ is my favorite ide, and it colors everything, and offers a &#8220;format&#8221; function, which is nice if you copy+pasted stuff, wrote quickly and forgot to indent/space etc.<br />
And&#8211; Don&#8217;t worry about the size of your comments, they won&#8217;t increase load time.<br />
The Zend articles are very good covering this.<br />
Another tidbit is that it is MUCH better to use &lt;?php to open php, and, if your file is php-only, you don&#8217;t need closing tags, in fact, that decreases the processing time.</p>
<p>Iain Nash &#8211; http://codejoust.com/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dale</title>
		<link>http://www.tutwow.com/htmlcss/my-coding-style/comment-page-1/#comment-4</link>
		<dc:creator>Dale</dc:creator>
		<pubDate>Sun, 21 Sep 2008 12:29:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.tutwow.com/WP25/?p=10#comment-4</guid>
		<description>Unlike me... who just writes a load of the code into a file and makes it nice and messy so only I can understand it. :)</description>
		<content:encoded><![CDATA[<p>Unlike me&#8230; who just writes a load of the code into a file and makes it nice and messy so only I can understand it. <img src='http://www.tutwow.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

