<?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 versus spaces: Spaces won</title>
	<atom:link href="http://lostechies.com/jimmybogard/2012/03/07/tabs-versus-spaces-spaces-won/feed/" rel="self" type="application/rss+xml" />
	<link>http://lostechies.com/jimmybogard/2012/03/07/tabs-versus-spaces-spaces-won/</link>
	<description>Strong opinions, weakly held</description>
	<lastBuildDate>Tue, 18 Jun 2013 19:00:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>By: Tim</title>
		<link>http://lostechies.com/jimmybogard/2012/03/07/tabs-versus-spaces-spaces-won/#comment-5743</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Fri, 12 Apr 2013 15:46:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/jimmybogard/2012/03/07/tabs-versus-spaces-spaces-won/#comment-5743</guid>
		<description>Few people (myself included) are prepared to keep tapping away at the space bar to align with spaces like that. It takes time and it&#039;s annoying with a large spaced alignment. You can hold down the space bar but then it shoots way off too far. Hitting the tab key a few times and then space to align is quicker but wrong if it&#039;s set to add tabs. If it adds spaces for tabs then all is fine.
That said, a good editor will just align under properly when you hit return and insert appropriate tabs or spaces depending on your settings.

Generally I have no issue other than being consistent with whatever other developers use.</description>
		<content:encoded><![CDATA[<p>Few people (myself included) are prepared to keep tapping away at the space bar to align with spaces like that. It takes time and it&#8217;s annoying with a large spaced alignment. You can hold down the space bar but then it shoots way off too far. Hitting the tab key a few times and then space to align is quicker but wrong if it&#8217;s set to add tabs. If it adds spaces for tabs then all is fine.<br />
That said, a good editor will just align under properly when you hit return and insert appropriate tabs or spaces depending on your settings.</p>
<p>Generally I have no issue other than being consistent with whatever other developers use.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://lostechies.com/jimmybogard/2012/03/07/tabs-versus-spaces-spaces-won/#comment-5609</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Mon, 04 Mar 2013 11:02:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/jimmybogard/2012/03/07/tabs-versus-spaces-spaces-won/#comment-5609</guid>
		<description>You&#039;re assuming that advocates of tabs have some strange aversion to using spaces. Which is totally incorrect.


Of course tabs won&#039;t line up with text if you change the tab size. Tabs should *never* be used to line up text; spaces should.


In the ideal world, where programmers are considerate and not arrogant dolts, tabs should would used for indentation. That way another programmer can come along and set an indentation width that is comfortable for them (and their display). If you&#039;re the kind of person who then likes to line things up, you should pad out from the indentation level using spaces.


Now, using tabs and spaces is the ideal solution. But in the real world programmers are lazy, arrogant and inconsiderate. As such spaces definitely seem to have won out, which is quite unfortunate.

However, now that VCS is common-place (and you&#039;d be a fool to develop without it) perhaps we&#039;ll see a reemergence of considerate programming practices. By omitting whitespace altogether from VCS repos, we can allow formatting rules to present code in a way that is comfortable for each developer. Unfortunately for that to happen we need IDEs that are actually capable of properly formatting code to become commonplace.</description>
		<content:encoded><![CDATA[<p>You&#8217;re assuming that advocates of tabs have some strange aversion to using spaces. Which is totally incorrect.</p>
<p>Of course tabs won&#8217;t line up with text if you change the tab size. Tabs should *never* be used to line up text; spaces should.</p>
<p>In the ideal world, where programmers are considerate and not arrogant dolts, tabs should would used for indentation. That way another programmer can come along and set an indentation width that is comfortable for them (and their display). If you&#8217;re the kind of person who then likes to line things up, you should pad out from the indentation level using spaces.</p>
<p>Now, using tabs and spaces is the ideal solution. But in the real world programmers are lazy, arrogant and inconsiderate. As such spaces definitely seem to have won out, which is quite unfortunate.</p>
<p>However, now that VCS is common-place (and you&#8217;d be a fool to develop without it) perhaps we&#8217;ll see a reemergence of considerate programming practices. By omitting whitespace altogether from VCS repos, we can allow formatting rules to present code in a way that is comfortable for each developer. Unfortunately for that to happen we need IDEs that are actually capable of properly formatting code to become commonplace.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peterson</title>
		<link>http://lostechies.com/jimmybogard/2012/03/07/tabs-versus-spaces-spaces-won/#comment-5366</link>
		<dc:creator>Jon Peterson</dc:creator>
		<pubDate>Sat, 01 Dec 2012 16:23:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/jimmybogard/2012/03/07/tabs-versus-spaces-spaces-won/#comment-5366</guid>
		<description>I don&#039;t know why Disqus fails so hard at notifying me of responses but...

That&#039;s what I meant. If a bit of code is a continuation of a previous line, I tab over to the start of &lt;b&gt;that&lt;/b&gt; line (usually, my editor just clones the tabs from before) and then space out any necessary alignment from there.

I consider a line of code to start at its natural* indentation point, not a cosmetic alignment point (however necessary it may be for readability).



*whichever indentation style is required by your personal or company code cleanliness police.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know why Disqus fails so hard at notifying me of responses but&#8230;</p>
<p>That&#8217;s what I meant. If a bit of code is a continuation of a previous line, I tab over to the start of <b>that</b> line (usually, my editor just clones the tabs from before) and then space out any necessary alignment from there.</p>
<p>I consider a line of code to start at its natural* indentation point, not a cosmetic alignment point (however necessary it may be for readability).</p>
<p>*whichever indentation style is required by your personal or company code cleanliness police.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DaveK</title>
		<link>http://lostechies.com/jimmybogard/2012/03/07/tabs-versus-spaces-spaces-won/#comment-5179</link>
		<dc:creator>DaveK</dc:creator>
		<pubDate>Wed, 10 Oct 2012 13:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/jimmybogard/2012/03/07/tabs-versus-spaces-spaces-won/#comment-5179</guid>
		<description>I&#039;ve been working in some different companies with differnt tools and different program languages and all I can say: It differs...it&#039;s depending on your infrastructure, the coding language and in fact the way how your company works.
I can work with tabs and spaces, but I totally prefer tabs since they are easy to use and more flexible than spaces. As long as there are some rules about that, it&#039;s nice to have tabs.
And the big positive point about tabs is: If you have some coding beginners in your company, they tend &quot;not to see&quot; some space missings. That means that sometimes you have to review code and recognize that the spacings aren&#039;t correct, because the newbies just don&#039;t see the failures (because they aren&#039;t used to...). Of course, now you&#039;d say that &quot;if they are new in coding, they need to learn how to do it right from the start of their carreer&quot;, but I say, we don&#039;t live in stone ages anymore, we have tools for formatting and with tabs, most of them just know perfectly how to handle. Again, I must say it differs from environment to environment, but overall I&#039;d say, tabs totally win.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been working in some different companies with differnt tools and different program languages and all I can say: It differs&#8230;it&#8217;s depending on your infrastructure, the coding language and in fact the way how your company works.<br />
I can work with tabs and spaces, but I totally prefer tabs since they are easy to use and more flexible than spaces. As long as there are some rules about that, it&#8217;s nice to have tabs.<br />
And the big positive point about tabs is: If you have some coding beginners in your company, they tend &#8220;not to see&#8221; some space missings. That means that sometimes you have to review code and recognize that the spacings aren&#8217;t correct, because the newbies just don&#8217;t see the failures (because they aren&#8217;t used to&#8230;). Of course, now you&#8217;d say that &#8220;if they are new in coding, they need to learn how to do it right from the start of their carreer&#8221;, but I say, we don&#8217;t live in stone ages anymore, we have tools for formatting and with tabs, most of them just know perfectly how to handle. Again, I must say it differs from environment to environment, but overall I&#8217;d say, tabs totally win.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Batdude</title>
		<link>http://lostechies.com/jimmybogard/2012/03/07/tabs-versus-spaces-spaces-won/#comment-5165</link>
		<dc:creator>Batdude</dc:creator>
		<pubDate>Mon, 08 Oct 2012 15:24:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/jimmybogard/2012/03/07/tabs-versus-spaces-spaces-won/#comment-5165</guid>
		<description>The places I have worked in the past 22 years have all used spaces.  So Craigs comment is pointless.  This debate will rage on forever.  Personally only spaces make sense to me.</description>
		<content:encoded><![CDATA[<p>The places I have worked in the past 22 years have all used spaces.  So Craigs comment is pointless.  This debate will rage on forever.  Personally only spaces make sense to me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas</title>
		<link>http://lostechies.com/jimmybogard/2012/03/07/tabs-versus-spaces-spaces-won/#comment-4629</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Wed, 06 Jun 2012 20:17:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/jimmybogard/2012/03/07/tabs-versus-spaces-spaces-won/#comment-4629</guid>
		<description>The appeal of tabs is that they add some structure to plain text, but if you really wanted structure you would not be coding in plain text anyway. Since virtually every programming language is still coded in plain text, you might as well stick with spaces rather than trying to hack some structure into the code by using tabs.</description>
		<content:encoded><![CDATA[<p>The appeal of tabs is that they add some structure to plain text, but if you really wanted structure you would not be coding in plain text anyway. Since virtually every programming language is still coded in plain text, you might as well stick with spaces rather than trying to hack some structure into the code by using tabs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Vera</title>
		<link>http://lostechies.com/jimmybogard/2012/03/07/tabs-versus-spaces-spaces-won/#comment-4405</link>
		<dc:creator>Jeff Vera</dc:creator>
		<pubDate>Tue, 13 Mar 2012 14:30:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/jimmybogard/2012/03/07/tabs-versus-spaces-spaces-won/#comment-4405</guid>
		<description>Giving up because of a default in a product is the definition of lame. Fight the good fight. </description>
		<content:encoded><![CDATA[<p>Giving up because of a default in a product is the definition of lame. Fight the good fight. </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fabio</title>
		<link>http://lostechies.com/jimmybogard/2012/03/07/tabs-versus-spaces-spaces-won/#comment-4404</link>
		<dc:creator>Fabio</dc:creator>
		<pubDate>Mon, 12 Mar 2012 13:39:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/jimmybogard/2012/03/07/tabs-versus-spaces-spaces-won/#comment-4404</guid>
		<description> I agree with you here Jon.</description>
		<content:encoded><![CDATA[<p> I agree with you here Jon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://lostechies.com/jimmybogard/2012/03/07/tabs-versus-spaces-spaces-won/#comment-4403</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Mon, 12 Mar 2012 12:14:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/jimmybogard/2012/03/07/tabs-versus-spaces-spaces-won/#comment-4403</guid>
		<description>The problem is, not all of the &quot;start of a line&quot; is indentation.  Part of that can also be &quot;alignment&quot;.  e.g. if I tab some code over from the right to indent it to the appropriate level, that line may also be a continuation from the previous line, at which point I may also be adding spaces after the tabs to align it in some way with the line before.  For example, I may space it over to align with a parenthesis.  It&#039;s little mistakes like that that can lead people down the all-spaces route.  search/replace for spaces to tabs fails because it replaces alignment spaces with indenting tabs.

But, +1 for putting emphasis the code rather than making sure everything is either tabs or spaces.</description>
		<content:encoded><![CDATA[<p>The problem is, not all of the &#8220;start of a line&#8221; is indentation.  Part of that can also be &#8220;alignment&#8221;.  e.g. if I tab some code over from the right to indent it to the appropriate level, that line may also be a continuation from the previous line, at which point I may also be adding spaces after the tabs to align it in some way with the line before.  For example, I may space it over to align with a parenthesis.  It&#8217;s little mistakes like that that can lead people down the all-spaces route.  search/replace for spaces to tabs fails because it replaces alignment spaces with indenting tabs.</p>
<p>But, +1 for putting emphasis the code rather than making sure everything is either tabs or spaces.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peterson</title>
		<link>http://lostechies.com/jimmybogard/2012/03/07/tabs-versus-spaces-spaces-won/#comment-4402</link>
		<dc:creator>Jon Peterson</dc:creator>
		<pubDate>Sun, 11 Mar 2012 19:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/jimmybogard/2012/03/07/tabs-versus-spaces-spaces-won/#comment-4402</guid>
		<description>That&#039;s because that area between the start of the line and the code on that line is referred to as &quot;indentation&quot;, which is what tabs are... and anything beyond that becomes &quot;alignment&quot;, which is (shockingly enough) a completely different thing. Spaces have the latter covered nicely.

In my experience, 90% or better of the whitespace to the left of actual code in any file tends to be indentation, and for that reason, I consider myself a &quot;Tab&quot; coder (since I use them most). But neither excludes the other, and anyone who actually gives a damn about the appearance of their code should do a little bit of reading on the definitions of &quot;indentation&quot; and &quot;alignment&quot;, and get busy coding legibly instead of getting huffy about which method another coder used, or doing a quick Find/Replace All and commit.</description>
		<content:encoded><![CDATA[<p>That&#8217;s because that area between the start of the line and the code on that line is referred to as &#8220;indentation&#8221;, which is what tabs are&#8230; and anything beyond that becomes &#8220;alignment&#8221;, which is (shockingly enough) a completely different thing. Spaces have the latter covered nicely.</p>
<p>In my experience, 90% or better of the whitespace to the left of actual code in any file tends to be indentation, and for that reason, I consider myself a &#8220;Tab&#8221; coder (since I use them most). But neither excludes the other, and anyone who actually gives a damn about the appearance of their code should do a little bit of reading on the definitions of &#8220;indentation&#8221; and &#8220;alignment&#8221;, and get busy coding legibly instead of getting huffy about which method another coder used, or doing a quick Find/Replace All and commit.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
