<?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: Colon Syntax in PHP</title>
	<atom:link href="http://www.kwista.com/programming/colon-syntax-in-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kwista.com/programming/colon-syntax-in-php/</link>
	<description>Information Technology for Your Gee Whiz Collection</description>
	<lastBuildDate>Sat, 30 Oct 2010 06:51:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Tod Hansmann</title>
		<link>http://www.kwista.com/programming/colon-syntax-in-php/comment-page-1/#comment-32</link>
		<dc:creator>Tod Hansmann</dc:creator>
		<pubDate>Tue, 20 Apr 2010 18:26:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.kwista.com/?p=401#comment-32</guid>
		<description>Woops. No, I meant 4 spaces are less compiler efficient than one tab.  It was backing up your point after refuting the reason you gave for your point.  &gt;.&gt;

Essentially, a compiler or interpreter is going to have to compare x number of spaces or y number of tabs.  The less you have of either, the more efficient it can go through your code.  It&#039;s going through byte by byte, so it makes sense.  This is the same reason you see all the spaces taken out and all the var/function names reduced to as few characters as possible in some javascript on sites like google.  On comps it doesn&#039;t amount to much.  On things like OLD OLD OLD comps and cell phones, it can matter.</description>
		<content:encoded><![CDATA[<p>Woops. No, I meant 4 spaces are less compiler efficient than one tab.  It was backing up your point after refuting the reason you gave for your point.  &gt;.&gt;</p>
<p>Essentially, a compiler or interpreter is going to have to compare x number of spaces or y number of tabs.  The less you have of either, the more efficient it can go through your code.  It&#8217;s going through byte by byte, so it makes sense.  This is the same reason you see all the spaces taken out and all the var/function names reduced to as few characters as possible in some javascript on sites like google.  On comps it doesn&#8217;t amount to much.  On things like OLD OLD OLD comps and cell phones, it can matter.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris London</title>
		<link>http://www.kwista.com/programming/colon-syntax-in-php/comment-page-1/#comment-28</link>
		<dc:creator>Chris London</dc:creator>
		<pubDate>Mon, 19 Apr 2010 21:28:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.kwista.com/?p=401#comment-28</guid>
		<description>That&#039;s interesting. I didn&#039;t know that tabs were less compiler efficient.  It seems that that&#039;s how us programmers like it.  More human friendly vs compiler efficient, like using functions and OOP.</description>
		<content:encoded><![CDATA[<p>That&#8217;s interesting. I didn&#8217;t know that tabs were less compiler efficient.  It seems that that&#8217;s how us programmers like it.  More human friendly vs compiler efficient, like using functions and OOP.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tod Hansmann</title>
		<link>http://www.kwista.com/programming/colon-syntax-in-php/comment-page-1/#comment-27</link>
		<dc:creator>Tod Hansmann</dc:creator>
		<pubDate>Mon, 19 Apr 2010 21:00:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.kwista.com/?p=401#comment-27</guid>
		<description>Yeah, but I&#039;ll hand you 16 cents and cover all the hard drive space you&#039;ll use on spaces if you were to count every line of code you could waste that space on over the next 10 years.

It IS less efficient for interpreters/compilers a bit.  That DOES matter in things like PHP, albeit not in a noticeable manner.</description>
		<content:encoded><![CDATA[<p>Yeah, but I&#8217;ll hand you 16 cents and cover all the hard drive space you&#8217;ll use on spaces if you were to count every line of code you could waste that space on over the next 10 years.</p>
<p>It IS less efficient for interpreters/compilers a bit.  That DOES matter in things like PHP, albeit not in a noticeable manner.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris London</title>
		<link>http://www.kwista.com/programming/colon-syntax-in-php/comment-page-1/#comment-26</link>
		<dc:creator>Chris London</dc:creator>
		<pubDate>Mon, 19 Apr 2010 20:27:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.kwista.com/?p=401#comment-26</guid>
		<description>Thanks for the comments. I TOTALLY agree with not using spaces.  Some developer tools even replace the tabs you input with spaces.  There are settings to turn this off which I recommend everyone turn off.

Not only do tabs allow other developers to set the spacing to their liking but they take up less disk space.  Correct me if I&#039;m wrong but I&#039;m pretty sure 1 tab takes up 1 byte and 1 space takes up 1 byte.  So if you do a 5-spaces tab instead of just a regular tab then your tabs will take up 5 times as many bytes per tab!</description>
		<content:encoded><![CDATA[<p>Thanks for the comments. I TOTALLY agree with not using spaces.  Some developer tools even replace the tabs you input with spaces.  There are settings to turn this off which I recommend everyone turn off.</p>
<p>Not only do tabs allow other developers to set the spacing to their liking but they take up less disk space.  Correct me if I&#8217;m wrong but I&#8217;m pretty sure 1 tab takes up 1 byte and 1 space takes up 1 byte.  So if you do a 5-spaces tab instead of just a regular tab then your tabs will take up 5 times as many bytes per tab!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tod Hansmann</title>
		<link>http://www.kwista.com/programming/colon-syntax-in-php/comment-page-1/#comment-25</link>
		<dc:creator>Tod Hansmann</dc:creator>
		<pubDate>Mon, 19 Apr 2010 19:57:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.kwista.com/?p=401#comment-25</guid>
		<description>I should note that &quot;you&quot; is not the fine people at Kwista &gt;.&gt;</description>
		<content:encoded><![CDATA[<p>I should note that &#8220;you&#8221; is not the fine people at Kwista &gt;.&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tod Hansmann</title>
		<link>http://www.kwista.com/programming/colon-syntax-in-php/comment-page-1/#comment-24</link>
		<dc:creator>Tod Hansmann</dc:creator>
		<pubDate>Mon, 19 Apr 2010 19:57:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.kwista.com/?p=401#comment-24</guid>
		<description>Gligh!  It makes it look more like Perl.  That&#039;s what we call a Bad Thing (tm).

I agree on indenting though.  Always use tabs.  NEVER use spaces.  *shakes an angry fist at coding n00bs*  Tabs allow a programmer to set the spacing to his preference without changing the code.  Spaces force the look of however many spaces there are in any editor, and really screws up a lot of formatting.  Any editor worth its salt should adjust the tabs you create without incident, but it&#039;s much more difficult to handle old spaces you&#039;ve typed, you communist.

</description>
		<content:encoded><![CDATA[<p>Gligh!  It makes it look more like Perl.  That&#8217;s what we call a Bad Thing &#8482;.</p>
<p>I agree on indenting though.  Always use tabs.  NEVER use spaces.  *shakes an angry fist at coding n00bs*  Tabs allow a programmer to set the spacing to his preference without changing the code.  Spaces force the look of however many spaces there are in any editor, and really screws up a lot of formatting.  Any editor worth its salt should adjust the tabs you create without incident, but it&#8217;s much more difficult to handle old spaces you&#8217;ve typed, you communist.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

