<?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: TABs vs Spaces. The end of the debate.</title>
	<atom:link href="http://www.iovene.com/61/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.iovene.com/61/</link>
	<description>The thoughts of a computer programmer, open source supporter, astrophotographer and free-thinker.</description>
	<lastBuildDate>Fri, 27 Jan 2012 08:08:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: msharman</title>
		<link>http://www.iovene.com/61/#comment-185853</link>
		<dc:creator>msharman</dc:creator>
		<pubDate>Tue, 24 Jan 2012 02:21:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.iovene.com/tabs-vs-spaces-the-end-of-the-debate/#comment-185853</guid>
		<description>This. Using a combination of spaces and TABs for indenting is bad. It will cause indentation to be messed up when a user has a different size of TABs. So you can either ban spaces or ban TABs, personally I my preference is to ban TABs so that indentation is as the author intended not mangled according to different users preferences. I want my teams code to be consistently indented regardless of what editor settings they have.</description>
		<content:encoded><![CDATA[<p>This. Using a combination of spaces and TABs for indenting is bad. It will cause indentation to be messed up when a user has a different size of TABs. So you can either ban spaces or ban TABs, personally I my preference is to ban TABs so that indentation is as the author intended not mangled according to different users preferences. I want my teams code to be consistently indented regardless of what editor settings they have.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis</title>
		<link>http://www.iovene.com/61/#comment-171352</link>
		<dc:creator>Dennis</dc:creator>
		<pubDate>Thu, 17 Nov 2011 17:12:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.iovene.com/tabs-vs-spaces-the-end-of-the-debate/#comment-171352</guid>
		<description>Not arbitrary ... we are looking for a standard here ... So, to those who say:

&quot;... Spaces are arbitrary, as a developer is then free to chose how many spaces at will ...&quot; or the equivalent, I say:

Indentation and alignment - just use one (1) space

Use one (1) space always, no tabs ... no multi-spaces. All my coding in many prog langs and HTML and XML is done with one (1) space. I fix many a code snippet accordingly also.

The discussion should be one (1) space vs tabs and ... one (1) space wins everytime er, cept maybe Python ... (he sits back in his chair and braces for the flurry ...)</description>
		<content:encoded><![CDATA[<p>Not arbitrary &#8230; we are looking for a standard here &#8230; So, to those who say:</p>
<p>&#8220;&#8230; Spaces are arbitrary, as a developer is then free to chose how many spaces at will &#8230;&#8221; or the equivalent, I say:</p>
<p>Indentation and alignment &#8211; just use one (1) space</p>
<p>Use one (1) space always, no tabs &#8230; no multi-spaces. All my coding in many prog langs and HTML and XML is done with one (1) space. I fix many a code snippet accordingly also.</p>
<p>The discussion should be one (1) space vs tabs and &#8230; one (1) space wins everytime er, cept maybe Python &#8230; (he sits back in his chair and braces for the flurry &#8230;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KNL</title>
		<link>http://www.iovene.com/61/#comment-163837</link>
		<dc:creator>KNL</dc:creator>
		<pubDate>Mon, 10 Oct 2011 05:32:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.iovene.com/tabs-vs-spaces-the-end-of-the-debate/#comment-163837</guid>
		<description>This is stil the most relevant and enlightning article on the entire Internet about the issue. Great work!</description>
		<content:encoded><![CDATA[<p>This is stil the most relevant and enlightning article on the entire Internet about the issue. Great work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: McKelvin</title>
		<link>http://www.iovene.com/61/#comment-155918</link>
		<dc:creator>McKelvin</dc:creator>
		<pubDate>Sat, 24 Sep 2011 09:21:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.iovene.com/tabs-vs-spaces-the-end-of-the-debate/#comment-155918</guid>
		<description>I&#039;ve been involved in this question for almost the whole afternoon.After reading your article,I decide to keep a habit of using TABs in VIM.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been involved in this question for almost the whole afternoon.After reading your article,I decide to keep a habit of using TABs in VIM.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean</title>
		<link>http://www.iovene.com/61/#comment-149784</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Fri, 02 Sep 2011 17:13:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.iovene.com/tabs-vs-spaces-the-end-of-the-debate/#comment-149784</guid>
		<description>If your code is run remotely and not compiled or minified, you should use tabs for bandwidth reasons. Of course you should try and minify your non-compiled code, in which case your preference doesn&#039;t matter for bandwidth reasons, except unless your crappy corporate inspired source control system doesn&#039;t support lines over 1000 characters long, making minification impossible.

If you expect others to look at your code, you should use tabs for individual preference reasons. This really trumps all other preferences. And in this day and age of IDE&#039;s and configurable editors, there&#039;s just no excuse for spaces.</description>
		<content:encoded><![CDATA[<p>If your code is run remotely and not compiled or minified, you should use tabs for bandwidth reasons. Of course you should try and minify your non-compiled code, in which case your preference doesn&#8217;t matter for bandwidth reasons, except unless your crappy corporate inspired source control system doesn&#8217;t support lines over 1000 characters long, making minification impossible.</p>
<p>If you expect others to look at your code, you should use tabs for individual preference reasons. This really trumps all other preferences. And in this day and age of IDE&#8217;s and configurable editors, there&#8217;s just no excuse for spaces.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TABs vs Spaces &#124; Project Maple</title>
		<link>http://www.iovene.com/61/#comment-149550</link>
		<dc:creator>TABs vs Spaces &#124; Project Maple</dc:creator>
		<pubDate>Thu, 01 Sep 2011 16:35:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.iovene.com/tabs-vs-spaces-the-end-of-the-debate/#comment-149550</guid>
		<description>[...] ????(align)??????????????????tab??????editor????tab????????????????? proof: TABs vs Spaces. The end of the debate. [...]</description>
		<content:encoded><![CDATA[<p>[...] ????(align)??????????????????tab??????editor????tab????????????????? proof: TABs vs Spaces. The end of the debate. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.iovene.com/61/#comment-148992</link>
		<dc:creator>John</dc:creator>
		<pubDate>Mon, 29 Aug 2011 16:22:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.iovene.com/tabs-vs-spaces-the-end-of-the-debate/#comment-148992</guid>
		<description>I don&#039;t think he got it right. &quot;for indenting tabs vs. spaces is a useless discussion nobody can win.&quot; It is not a useless discussion. There are real factors to consider. &#039;Win&#039; is a loaded term as well. I prefer to think of it as, &quot;in the context of coding, which is more rational to use?&quot; See my post at the end if you are still monitoring this at all, I know its years later.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t think he got it right. &#8220;for indenting tabs vs. spaces is a useless discussion nobody can win.&#8221; It is not a useless discussion. There are real factors to consider. &#8216;Win&#8217; is a loaded term as well. I prefer to think of it as, &#8220;in the context of coding, which is more rational to use?&#8221; See my post at the end if you are still monitoring this at all, I know its years later.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.iovene.com/61/#comment-148989</link>
		<dc:creator>John</dc:creator>
		<pubDate>Mon, 29 Aug 2011 15:48:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.iovene.com/tabs-vs-spaces-the-end-of-the-debate/#comment-148989</guid>
		<description>I know this article is not about one being better than the other. It&#039;s about consistency, and using spaces for aligning.

First of all, I don&#039;t see MUCH value in aligning variables, but it does help readability a little bit. Not for me though.

What I do resent though, is the claim that for indentation, it&#039;s just a personal choice. It&#039;s not that I disagree, it&#039;s that it would be nice to actually use logical considerations, i.e. pros and cons.

One thing that really irritates me is that when discussing indentation, it is only ever in the context of &quot;readability.&quot; As a programmer, this lack of critical thinking about indentation saddens me.

Indentation MEANS something in terms of code functionality. It&#039;s not just some ornament. Indentation represents the SCOPE DEPTH of the indented code. A variable declared in scope depth 3 will not be accessible in scope depth 2.

This is why TABS make sense. A tab is one character. Therefore there is an equality between the number of tab characters and the scope of the code. Spaces are arbitrary, as a developer is then free to chose how many spaces at will.

This makes refactoring code in batch MUCH easier. Also, it prevents misalignment of code written by different developers. I don&#039;t know about you guys, but my projects usually consist of code from dozens of developers, many contributing to the same files. What if one developer uses 4 spaces and another uses 5? So there is an added effort needed to ensure everyone is using the same number of spaces. THAT&#039;s what leads to &quot;religious&quot; arguments about how deep an indentation should be. To the contrary, if the standard is tabs, then each developer is free to configure his/her editor to render tabs however they please. Everybody can make the code look how THEY want, without actually mixing code that doesn&#039;t line up.

Now, I&#039;m not saying that&#039;s the end all be all of the discussion. But isn&#039;t it rational to say, if there are major pro&#039;s to Tabs, as I have asserted above, then to counter with &quot;spaces are better&quot; one should be diligent enough to say something better than &quot;that&#039;s what I&#039;m used to and I like it that way&quot;

John</description>
		<content:encoded><![CDATA[<p>I know this article is not about one being better than the other. It&#8217;s about consistency, and using spaces for aligning.</p>
<p>First of all, I don&#8217;t see MUCH value in aligning variables, but it does help readability a little bit. Not for me though.</p>
<p>What I do resent though, is the claim that for indentation, it&#8217;s just a personal choice. It&#8217;s not that I disagree, it&#8217;s that it would be nice to actually use logical considerations, i.e. pros and cons.</p>
<p>One thing that really irritates me is that when discussing indentation, it is only ever in the context of &#8220;readability.&#8221; As a programmer, this lack of critical thinking about indentation saddens me.</p>
<p>Indentation MEANS something in terms of code functionality. It&#8217;s not just some ornament. Indentation represents the SCOPE DEPTH of the indented code. A variable declared in scope depth 3 will not be accessible in scope depth 2.</p>
<p>This is why TABS make sense. A tab is one character. Therefore there is an equality between the number of tab characters and the scope of the code. Spaces are arbitrary, as a developer is then free to chose how many spaces at will.</p>
<p>This makes refactoring code in batch MUCH easier. Also, it prevents misalignment of code written by different developers. I don&#8217;t know about you guys, but my projects usually consist of code from dozens of developers, many contributing to the same files. What if one developer uses 4 spaces and another uses 5? So there is an added effort needed to ensure everyone is using the same number of spaces. THAT&#8217;s what leads to &#8220;religious&#8221; arguments about how deep an indentation should be. To the contrary, if the standard is tabs, then each developer is free to configure his/her editor to render tabs however they please. Everybody can make the code look how THEY want, without actually mixing code that doesn&#8217;t line up.</p>
<p>Now, I&#8217;m not saying that&#8217;s the end all be all of the discussion. But isn&#8217;t it rational to say, if there are major pro&#8217;s to Tabs, as I have asserted above, then to counter with &#8220;spaces are better&#8221; one should be diligent enough to say something better than &#8220;that&#8217;s what I&#8217;m used to and I like it that way&#8221;</p>
<p>John</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tabs vs. Spaces &#124; MTR</title>
		<link>http://www.iovene.com/61/#comment-147136</link>
		<dc:creator>Tabs vs. Spaces &#124; MTR</dc:creator>
		<pubDate>Fri, 19 Aug 2011 22:52:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.iovene.com/tabs-vs-spaces-the-end-of-the-debate/#comment-147136</guid>
		<description>[...] [Coding Horror: Death to the Space Infidels] [Joel on Software Forum: Tabs or Spaces?] [Why I Love Tabs] [Why I Prefer NO Tabs] [The Tabs vs. Spaces Holy War] [Revisiting Tabs and Spaces] [Rizzoweb: Tabs vs. Spaces] [Tabs vs. Spaces: The End of the Debate!] [...]</description>
		<content:encoded><![CDATA[<p>[...] [Coding Horror: Death to the Space Infidels] [Joel on Software Forum: Tabs or Spaces?] [Why I Love Tabs] [Why I Prefer NO Tabs] [The Tabs vs. Spaces Holy War] [Revisiting Tabs and Spaces] [Rizzoweb: Tabs vs. Spaces] [Tabs vs. Spaces: The End of the Debate!] [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oz</title>
		<link>http://www.iovene.com/61/#comment-141109</link>
		<dc:creator>Oz</dc:creator>
		<pubDate>Sun, 17 Jul 2011 05:36:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.iovene.com/tabs-vs-spaces-the-end-of-the-debate/#comment-141109</guid>
		<description>Please don&#039;t criticize the author of that Linux kernel code piece (for using tabs for align). The whole point is that in the Linux kernel code they use tabs which has the width equal to 8 spaces. The Linux kernel project enforces that rule and if you are willing to contribute you write your code so that it obeys those rules (and many others as well).

In other words we may have our personal preferences but when we are contributing to an established project we have to adjust ourselves (and our text editors) to the rules of the project.</description>
		<content:encoded><![CDATA[<p>Please don&#8217;t criticize the author of that Linux kernel code piece (for using tabs for align). The whole point is that in the Linux kernel code they use tabs which has the width equal to 8 spaces. The Linux kernel project enforces that rule and if you are willing to contribute you write your code so that it obeys those rules (and many others as well).</p>
<p>In other words we may have our personal preferences but when we are contributing to an established project we have to adjust ourselves (and our text editors) to the rules of the project.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

