<?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: Some rather opinionated plugins</title>
	<atom:link href="http://matt.west.co.tt/rants/opinionated-plugins/feed/" rel="self" type="application/rss+xml" />
	<link>http://matt.west.co.tt/rants/opinionated-plugins/</link>
	<description>adventures of a retro electro media hacker type person</description>
	<lastBuildDate>Thu, 02 Sep 2010 15:18:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Alex Fortuna</title>
		<link>http://matt.west.co.tt/rants/opinionated-plugins/comment-page-1/#comment-119421</link>
		<dc:creator>Alex Fortuna</dc:creator>
		<pubDate>Mon, 14 Sep 2009 10:24:59 +0000</pubDate>
		<guid isPermaLink="false">http://matt.west.co.tt/?p=105#comment-119421</guid>
		<description>Here&#039;s another plugin to tweak source code indentation: http://github.com/dadooda/indent.

This one is suitable for both spacebar-lovers and tab-lovers, so let it be peace and friendship. :)</description>
		<content:encoded><![CDATA[<p>Here&#8217;s another plugin to tweak source code indentation: <a href="http://github.com/dadooda/indent" rel="nofollow">http://github.com/dadooda/indent</a>.</p>
<p>This one is suitable for both spacebar-lovers and tab-lovers, so let it be peace and friendship. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Fortuna</title>
		<link>http://matt.west.co.tt/rants/opinionated-plugins/comment-page-1/#comment-119237</link>
		<dc:creator>Alex Fortuna</dc:creator>
		<pubDate>Fri, 11 Sep 2009 20:21:00 +0000</pubDate>
		<guid isPermaLink="false">http://matt.west.co.tt/?p=105#comment-119237</guid>
		<description>Oops, tag-looking text is not processed properly.</description>
		<content:encoded><![CDATA[<p>Oops, tag-looking text is not processed properly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Fortuna</title>
		<link>http://matt.west.co.tt/rants/opinionated-plugins/comment-page-1/#comment-119235</link>
		<dc:creator>Alex Fortuna</dc:creator>
		<pubDate>Fri, 11 Sep 2009 20:18:22 +0000</pubDate>
		<guid isPermaLink="false">http://matt.west.co.tt/?p=105#comment-119235</guid>
		<description>Matt, I totally agree that 2-space indentation is shi^H^H^H not good enough. I&#039;ve coded on a number of platforms for a number of years and came to a practical conclusion (definitely shared by most other multiplatform developers) that indentation with tabs is the most versatile method.

More of it, that&#039;s what the tab character was initially intended for! &quot;If not broken, why mend it?&quot;.

My personal oppinion about those &quot;2-spaces fans&quot; can seem exotic, but I&#039;m no enemy. If I&#039;m wrong, laugh at it and don&#039;t take it too seriously. I think that Ruby and Ruby on Rails is conceived by many of us being &quot;way too revolutionary&quot;. In fact, even more revolutionary than it actually is. So many are glad to destroy everything smelling &quot;old regime&quot; even if it has actually proven itself to be quite solid. Poor tab character is the helpless victim. :)

My personal counter-arguments against 2 spaces are:

* There are hundreds of editors in existence. As far as I can tell, almost none of them supports BLOCK INDENT/UNINDENT (mark N lines and indent/unindent them) made of 2-space sequences without a lot of tweaking and personalization. Some editors don&#039;t support it at all.

  Also to my humble knowledge, almost EVERY more or less usable editor supports block indent/unindent made of tabs with no additional tweaking at all. AND EVEN IF IT DOES NOT, you can also do it by hand, since adding or erasing one character a line isn&#039;t a big deal.

* What about &quot;occasional editing&quot;, when you have to make a couple of hot fixes/improvements after the project has already been deployed on the customer&#039;s resources? Ask a remote hosting administrator immediately bring you a graphical Mac shell with TextMate running on it? 

  In situations like this you&#039;ll have to use the hardware and software YOU ARE GIVEN and don&#039;t have chance to ask for more. Experienced programmers have been in such a situation dozens of times. That&#039;s why they don&#039;t rely on tweaking too much.

  You love your Mac, your TextMate, your IDE tweaked to your personal highest grade of comfort? Go code for another 5-10 years and then return to my comment. I&#039;m sure you&#039;ll get rid of all your tweaks by that time. No offense please.

* As far as I can tell, web templates are normally built up of HTML+CSS+ERB+JS. To my experience, the only way to get a viable template is PROPER INDENTATION OF ALL LOGICAL LAYERS, no matter which language they are in. Yes, if there&#039;s a , and then a  and then  and then Ruby code in it, indent each layer as if they are all the same language. The simpler the rule -- the easier it&#039;s to follow.

  And now tell me, 2-spaces guys, will you ask your colleagues HTML/CSS/JS coders convert to 2-space religion either? Or you&#039;ll mix indentation styles? Or just don&#039;t care about non-Ruby indentations at all?

  All above mentioned possible solutions will lead to TROUBLE AND LOSS OF TIME.


I&#039;m for freedom of choice. But I&#039;m also for not forgetting the basic roots of programming. If tabs are good in BAD languages, why throwing them out of GOOD ones?</description>
		<content:encoded><![CDATA[<p>Matt, I totally agree that 2-space indentation is shi^H^H^H not good enough. I&#8217;ve coded on a number of platforms for a number of years and came to a practical conclusion (definitely shared by most other multiplatform developers) that indentation with tabs is the most versatile method.</p>
<p>More of it, that&#8217;s what the tab character was initially intended for! &#8220;If not broken, why mend it?&#8221;.</p>
<p>My personal oppinion about those &#8220;2-spaces fans&#8221; can seem exotic, but I&#8217;m no enemy. If I&#8217;m wrong, laugh at it and don&#8217;t take it too seriously. I think that Ruby and Ruby on Rails is conceived by many of us being &#8220;way too revolutionary&#8221;. In fact, even more revolutionary than it actually is. So many are glad to destroy everything smelling &#8220;old regime&#8221; even if it has actually proven itself to be quite solid. Poor tab character is the helpless victim. :)</p>
<p>My personal counter-arguments against 2 spaces are:</p>
<p>* There are hundreds of editors in existence. As far as I can tell, almost none of them supports BLOCK INDENT/UNINDENT (mark N lines and indent/unindent them) made of 2-space sequences without a lot of tweaking and personalization. Some editors don&#8217;t support it at all.</p>
<p>  Also to my humble knowledge, almost EVERY more or less usable editor supports block indent/unindent made of tabs with no additional tweaking at all. AND EVEN IF IT DOES NOT, you can also do it by hand, since adding or erasing one character a line isn&#8217;t a big deal.</p>
<p>* What about &#8220;occasional editing&#8221;, when you have to make a couple of hot fixes/improvements after the project has already been deployed on the customer&#8217;s resources? Ask a remote hosting administrator immediately bring you a graphical Mac shell with TextMate running on it? </p>
<p>  In situations like this you&#8217;ll have to use the hardware and software YOU ARE GIVEN and don&#8217;t have chance to ask for more. Experienced programmers have been in such a situation dozens of times. That&#8217;s why they don&#8217;t rely on tweaking too much.</p>
<p>  You love your Mac, your TextMate, your IDE tweaked to your personal highest grade of comfort? Go code for another 5-10 years and then return to my comment. I&#8217;m sure you&#8217;ll get rid of all your tweaks by that time. No offense please.</p>
<p>* As far as I can tell, web templates are normally built up of HTML+CSS+ERB+JS. To my experience, the only way to get a viable template is PROPER INDENTATION OF ALL LOGICAL LAYERS, no matter which language they are in. Yes, if there&#8217;s a , and then a  and then  and then Ruby code in it, indent each layer as if they are all the same language. The simpler the rule &#8212; the easier it&#8217;s to follow.</p>
<p>  And now tell me, 2-spaces guys, will you ask your colleagues HTML/CSS/JS coders convert to 2-space religion either? Or you&#8217;ll mix indentation styles? Or just don&#8217;t care about non-Ruby indentations at all?</p>
<p>  All above mentioned possible solutions will lead to TROUBLE AND LOSS OF TIME.</p>
<p>I&#8217;m for freedom of choice. But I&#8217;m also for not forgetting the basic roots of programming. If tabs are good in BAD languages, why throwing them out of GOOD ones?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matt</title>
		<link>http://matt.west.co.tt/rants/opinionated-plugins/comment-page-1/#comment-117654</link>
		<dc:creator>matt</dc:creator>
		<pubDate>Thu, 06 Aug 2009 14:28:21 +0000</pubDate>
		<guid isPermaLink="false">http://matt.west.co.tt/?p=105#comment-117654</guid>
		<description>Not sure exactly why people are descending upon the term &quot;semantic&quot; when I never used the word (a spot of Al Gore &quot;I invented the internet&quot; word-twisting perhaps? :-) ), but if I had used it, I would indeed have meant it in the &quot;meaningful to the user&quot; sense. I stand by the HTML analogy: your graphical web browser doesn&#039;t care whether you used &lt;b&gt;, &lt;h3&gt; or &lt;strong&gt;, just as Ruby doesn&#039;t care about your choice of whitespace, but when your document is received by another person in another environment, it does matter what your underlying &lt;em&gt;intent&lt;/em&gt; was in choosing to make a bit of text bold, so that they can represent that intent in their preferred way instead. I know coders who absolutely can&#039;t work with two space indents - and why should that be imposed on them, just because the original coder happened to use that as their preferred visual representation of &quot;this line is one syntactic level deeper than the last one&quot;? By using tabs in your files, you&#039;re preserving that &lt;em&gt;intent&lt;/em&gt; for the next coder, rather than one particular representation of it.

&quot;However, I would be rather irked if someone converted all the spaces to tabs on an open source project because they prefer it&quot; - I totally agree; I would never break an established coding standard for the sake of fighting a holy war. (Following one standard, even a stupid one, is much better than mixing them.) But this plugin came about because it was Rails which was breaking our in-house de facto standard of using tabs. De facto, because we have front-end developers who are used to working in things like Macromedia Homesite where the tab key inserts a tab character, and it was so clearly the one sensible way to work that nobody thought to write that down as a standard.

If you think that the above rant reflects badly on my communication skills - fine. However, I would ask that before you come to that conclusion, you apply the same critical standards to the Rails core team, whose communications with me - here and elsewhere - have boiled down to &quot;I don&#039;t really like your code. Why don&#039;t you go off and find someone who can tell you what&#039;s wrong with it?&quot; Certainly, something has gone wrong in the process here to end up with a potential contributor being completely alienated, and I really hope that Rails doesn&#039;t have such a cult of hero worship around it that people &lt;em&gt;automatically&lt;/em&gt; assume that the problem is my attitude.</description>
		<content:encoded><![CDATA[<p>Not sure exactly why people are descending upon the term &#8220;semantic&#8221; when I never used the word (a spot of Al Gore &#8220;I invented the internet&#8221; word-twisting perhaps? :-) ), but if I had used it, I would indeed have meant it in the &#8220;meaningful to the user&#8221; sense. I stand by the HTML analogy: your graphical web browser doesn&#8217;t care whether you used &lt;b&gt;, &lt;h3&gt; or &lt;strong&gt;, just as Ruby doesn&#8217;t care about your choice of whitespace, but when your document is received by another person in another environment, it does matter what your underlying <em>intent</em> was in choosing to make a bit of text bold, so that they can represent that intent in their preferred way instead. I know coders who absolutely can&#8217;t work with two space indents &#8211; and why should that be imposed on them, just because the original coder happened to use that as their preferred visual representation of &#8220;this line is one syntactic level deeper than the last one&#8221;? By using tabs in your files, you&#8217;re preserving that <em>intent</em> for the next coder, rather than one particular representation of it.</p>
<p>&#8220;However, I would be rather irked if someone converted all the spaces to tabs on an open source project because they prefer it&#8221; &#8211; I totally agree; I would never break an established coding standard for the sake of fighting a holy war. (Following one standard, even a stupid one, is much better than mixing them.) But this plugin came about because it was Rails which was breaking our in-house de facto standard of using tabs. De facto, because we have front-end developers who are used to working in things like Macromedia Homesite where the tab key inserts a tab character, and it was so clearly the one sensible way to work that nobody thought to write that down as a standard.</p>
<p>If you think that the above rant reflects badly on my communication skills &#8211; fine. However, I would ask that before you come to that conclusion, you apply the same critical standards to the Rails core team, whose communications with me &#8211; here and elsewhere &#8211; have boiled down to &#8220;I don&#8217;t really like your code. Why don&#8217;t you go off and find someone who can tell you what&#8217;s wrong with it?&#8221; Certainly, something has gone wrong in the process here to end up with a potential contributor being completely alienated, and I really hope that Rails doesn&#8217;t have such a cult of hero worship around it that people <em>automatically</em> assume that the problem is my attitude.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rein Henrichs</title>
		<link>http://matt.west.co.tt/rants/opinionated-plugins/comment-page-1/#comment-117569</link>
		<dc:creator>Rein Henrichs</dc:creator>
		<pubDate>Tue, 04 Aug 2009 21:51:15 +0000</pubDate>
		<guid isPermaLink="false">http://matt.west.co.tt/?p=105#comment-117569</guid>
		<description>Tabs are not syntactical.  They are not part of the grammar of Ruby. It is impossible for them to have any semantic value. What I believe you are trying to say is &quot;Tabs are meaningful *to me* and I prefer them to spaces,&quot; which is fine, but your argument from semantics is specious and I find the vitriol with which it was delivered to be rather ineffective.

If your entire team agrees to buck the Rails convention and use tabs, *and* you aren&#039;t concerned with making your code less workable by others in the community, then by all means go for it. However, I would be rather irked if someone converted all the spaces to tabs on an open source project because they prefer it, without regard to the established coding style.

Your points on the belongs_to behavior have merit. Unfortunately, the general tone of this post is one of passive aggressive frustration and childish temper tantrum throwing and is frankly unbecoming of a developer. Certainly not of the kind of developer I would want on one of my teams, communicating with other developers and with clients. It casts a unfortunate shadow on the work you&#039;ve done on the plugin and patch.</description>
		<content:encoded><![CDATA[<p>Tabs are not syntactical.  They are not part of the grammar of Ruby. It is impossible for them to have any semantic value. What I believe you are trying to say is &#8220;Tabs are meaningful *to me* and I prefer them to spaces,&#8221; which is fine, but your argument from semantics is specious and I find the vitriol with which it was delivered to be rather ineffective.</p>
<p>If your entire team agrees to buck the Rails convention and use tabs, *and* you aren&#8217;t concerned with making your code less workable by others in the community, then by all means go for it. However, I would be rather irked if someone converted all the spaces to tabs on an open source project because they prefer it, without regard to the established coding style.</p>
<p>Your points on the belongs_to behavior have merit. Unfortunately, the general tone of this post is one of passive aggressive frustration and childish temper tantrum throwing and is frankly unbecoming of a developer. Certainly not of the kind of developer I would want on one of my teams, communicating with other developers and with clients. It casts a unfortunate shadow on the work you&#8217;ve done on the plugin and patch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matt</title>
		<link>http://matt.west.co.tt/rants/opinionated-plugins/comment-page-1/#comment-117082</link>
		<dc:creator>matt</dc:creator>
		<pubDate>Sat, 25 Jul 2009 18:37:32 +0000</pubDate>
		<guid isPermaLink="false">http://matt.west.co.tt/?p=105#comment-117082</guid>
		<description>Where do you get the idea that I was sitting around waiting for someone else to do the work for me? I could have just written the three line workaround, made my code uglier, and quietly cursed Rails for being a bit rubbish. But no, I dug into the Rails core to find out where it was going wrong. I wrote the patch. I submitted it on Lighthouse. I packaged it as a plugin to make it more immediately useful to the wider Rails community. I responded to the feedback I got, and would have happily continued developing it had anyone told me what needed fixing. But instead, I was expected to argue its worth with some people who were too attached to Rails internals to notice or care where it wasn&#039;t catering for real-world programmers, and who had already hand-waved away the explanations I&#039;d already given.

Yes, I&#039;ll grant you that my &quot;all&#039;s well that ends well&quot; comment only really applies to that one ticket (except actually it doesn&#039;t, because the patch has since been reverted on the grounds that it doesn&#039;t also fix some other stale references that it never claimed to fix in the first place) and not to the wider Rails development process, which based on this experience, is fundamentally broken. Don&#039;t blame me for that though.

And please do tell me which reasonable best practices I&#039;m neglecting. I&#039;m happy to follow them just as long as someone can explain what&#039;s so reasonable about them (as opposed to them being handed down from on high by someone who purports to know my project better than I do). In the cases of assignment-by-ID and indenting with tabs, no-one&#039;s done that yet.</description>
		<content:encoded><![CDATA[<p>Where do you get the idea that I was sitting around waiting for someone else to do the work for me? I could have just written the three line workaround, made my code uglier, and quietly cursed Rails for being a bit rubbish. But no, I dug into the Rails core to find out where it was going wrong. I wrote the patch. I submitted it on Lighthouse. I packaged it as a plugin to make it more immediately useful to the wider Rails community. I responded to the feedback I got, and would have happily continued developing it had anyone told me what needed fixing. But instead, I was expected to argue its worth with some people who were too attached to Rails internals to notice or care where it wasn&#8217;t catering for real-world programmers, and who had already hand-waved away the explanations I&#8217;d already given.</p>
<p>Yes, I&#8217;ll grant you that my &#8220;all&#8217;s well that ends well&#8221; comment only really applies to that one ticket (except actually it doesn&#8217;t, because the patch has since been reverted on the grounds that it doesn&#8217;t also fix some other stale references that it never claimed to fix in the first place) and not to the wider Rails development process, which based on this experience, is fundamentally broken. Don&#8217;t blame me for that though.</p>
<p>And please do tell me which reasonable best practices I&#8217;m neglecting. I&#8217;m happy to follow them just as long as someone can explain what&#8217;s so reasonable about them (as opposed to them being handed down from on high by someone who purports to know my project better than I do). In the cases of assignment-by-ID and indenting with tabs, no-one&#8217;s done that yet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RailsWTF</title>
		<link>http://matt.west.co.tt/rants/opinionated-plugins/comment-page-1/#comment-117067</link>
		<dc:creator>RailsWTF</dc:creator>
		<pubDate>Sat, 25 Jul 2009 11:35:29 +0000</pubDate>
		<guid isPermaLink="false">http://matt.west.co.tt/?p=105#comment-117067</guid>
		<description>I&#039;m really pained by this post and that the lesson you learned [and the lesson you&#039;re proffering other people in your situation] is not to go about things in an adult manner in the proper channels but instead to whine and complain and sit back and give up asserting that &quot;Rails has jumped the shark. It happened when it stopped being a framework and started being a collection of opinions instead.&quot; [FWIW _every_ framework, even the holy Merb, is nothing more than a collection of opinions and code that backs those opinions up]. All&#039;s well doesn&#039;t end quite as well when what you&#039;ve preached here is &quot;Don&#039;t try to play ball and be a good sport when you can bitch and pout and make someone else [hat tip at the kindnesses of Jon, Koz, and Pratik] do your work for you&quot;. And sadly this is a lesson too many programmers are willing to implement in their own programming journeys.

I was going to comment on your repeated insistence that your unique and beautiful snowflake habits are more important than following reasonable best practices as well but the bruises on my forehead remind me how this argument usually turns out.</description>
		<content:encoded><![CDATA[<p>I&#8217;m really pained by this post and that the lesson you learned [and the lesson you're proffering other people in your situation] is not to go about things in an adult manner in the proper channels but instead to whine and complain and sit back and give up asserting that &#8220;Rails has jumped the shark. It happened when it stopped being a framework and started being a collection of opinions instead.&#8221; [FWIW _every_ framework, even the holy Merb, is nothing more than a collection of opinions and code that backs those opinions up]. All&#8217;s well doesn&#8217;t end quite as well when what you&#8217;ve preached here is &#8220;Don&#8217;t try to play ball and be a good sport when you can bitch and pout and make someone else [hat tip at the kindnesses of Jon, Koz, and Pratik] do your work for you&#8221;. And sadly this is a lesson too many programmers are willing to implement in their own programming journeys.</p>
<p>I was going to comment on your repeated insistence that your unique and beautiful snowflake habits are more important than following reasonable best practices as well but the bruises on my forehead remind me how this argument usually turns out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony Byrne</title>
		<link>http://matt.west.co.tt/rants/opinionated-plugins/comment-page-1/#comment-107537</link>
		<dc:creator>Tony Byrne</dc:creator>
		<pubDate>Wed, 15 Apr 2009 07:01:49 +0000</pubDate>
		<guid isPermaLink="false">http://matt.west.co.tt/?p=105#comment-107537</guid>
		<description>Matt,

I&#039;ve been bitten by this bug in Rails and tried a number of possible solutions before finding your plugin.  belongs_to_synchronization is the only thing I&#039;ve tried that works so I&#039;d like to thank you for your efforts.

Tony.</description>
		<content:encoded><![CDATA[<p>Matt,</p>
<p>I&#8217;ve been bitten by this bug in Rails and tried a number of possible solutions before finding your plugin.  belongs_to_synchronization is the only thing I&#8217;ve tried that works so I&#8217;d like to thank you for your efforts.</p>
<p>Tony.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Recent Links Tagged With "measure" - JabberTags</title>
		<link>http://matt.west.co.tt/rants/opinionated-plugins/comment-page-1/#comment-99709</link>
		<dc:creator>Recent Links Tagged With "measure" - JabberTags</dc:creator>
		<pubDate>Sat, 10 Jan 2009 22:49:17 +0000</pubDate>
		<guid isPermaLink="false">http://matt.west.co.tt/?p=105#comment-99709</guid>
		<description>[...] Success Metrics Instead of Rankings, Google PageRank ... Saved by ramitsethi on Mon 29-12-2008   Some rather opinionated plugins Saved by Aj4x on Sun 28-12-2008   How to Sew a Baby-Doll Top Saved by fekaled on Thu 25-12-2008   [...]</description>
		<content:encoded><![CDATA[<p>[...] Success Metrics Instead of Rankings, Google PageRank &#8230; Saved by ramitsethi on Mon 29-12-2008   Some rather opinionated plugins Saved by Aj4x on Sun 28-12-2008   How to Sew a Baby-Doll Top Saved by fekaled on Thu 25-12-2008   [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bookmarks about Agile</title>
		<link>http://matt.west.co.tt/rants/opinionated-plugins/comment-page-1/#comment-99697</link>
		<dc:creator>Bookmarks about Agile</dc:creator>
		<pubDate>Sat, 10 Jan 2009 16:00:34 +0000</pubDate>
		<guid isPermaLink="false">http://matt.west.co.tt/?p=105#comment-99697</guid>
		<description>[...] - bookmarked by 6 members originally found by yoroy on 2008-12-20  Some rather opinionated plugins  http://matt.west.co.tt/rants/opinionated-plugins/ - bookmarked by 4 members originally found by [...]</description>
		<content:encoded><![CDATA[<p>[...] &#8211; bookmarked by 6 members originally found by yoroy on 2008-12-20  Some rather opinionated plugins  <a href="http://matt.west.co.tt/rants/opinionated-plugins/" rel="nofollow">http://matt.west.co.tt/rants/opinionated-plugins/</a> &#8211; bookmarked by 4 members originally found by [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
