<?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 for The Opinionated Programmer</title>
	<atom:link href="http://www.garycrabtree.com/?feed=comments-rss2" rel="self" type="application/rss+xml" />
	<link>http://www.garycrabtree.com</link>
	<description>Knowledge I have learned while working</description>
	<pubDate>Sun, 05 Sep 2010 11:51:05 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on haml, an objective view by Darin Burris</title>
		<link>http://www.garycrabtree.com/?p=16&#038;cpage=1#comment-25</link>
		<dc:creator>Darin Burris</dc:creator>
		<pubDate>Tue, 04 Aug 2009 20:29:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.garycrabtree.com/?p=16#comment-25</guid>
		<description>People that argue that HAML is cleaner and easier to read, thus saving hours of effort in "chasing down curly braces" must be used to sloppy markup. 

As a visual designer as well as a front-end developer, I strive to write beautiful, elegant, simple, and very clean markup. I don't see why this isn't enough.

I also don't understand the desire, and apparent need by some developers, to abstract something as simple as (x)html to begin with. I can understand abstracting a complex programming language, but (x)html isn't a programming language and isn't complex.</description>
		<content:encoded><![CDATA[<p>People that argue that HAML is cleaner and easier to read, thus saving hours of effort in &#8220;chasing down curly braces&#8221; must be used to sloppy markup. </p>
<p>As a visual designer as well as a front-end developer, I strive to write beautiful, elegant, simple, and very clean markup. I don&#8217;t see why this isn&#8217;t enough.</p>
<p>I also don&#8217;t understand the desire, and apparent need by some developers, to abstract something as simple as (x)html to begin with. I can understand abstracting a complex programming language, but (x)html isn&#8217;t a programming language and isn&#8217;t complex.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on haml, an objective view by Brian Hogan</title>
		<link>http://www.garycrabtree.com/?p=16&#038;cpage=1#comment-6</link>
		<dc:creator>Brian Hogan</dc:creator>
		<pubDate>Thu, 11 Jun 2009 00:24:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.garycrabtree.com/?p=16#comment-6</guid>
		<description>Haml is extremely valuable to speedy implementations of sites because you don't get to launch your site with invalid markup, which means you won't fight as much with CSS or JavaScript DOM parsing.  That alone is worth the price, and it's one of the chief reasons it's become so popular.

If you're concerned about performance, you need to look at other factors besides view rendering.  On any site where view rendering performance is a concern, you simply implement caching, either fragment or action caching, or even static page caching, which is a good strategy to employ anyway.

Whitespace programming languages have existed for a long time, and they continue to do so because of the fact that you simply cannot get past the compilation stage if you don't structure your code properly. Chasing down curly braces or if...ends in long files (or closing tags) is a lot of wasted time. Considering you read code ten times more than you write it, readability is vital to your success.

One more point: HAML is useful outside of Rails. You can use it to generate static web sites too using the StaticMatic gem. This removes the rendering cost. It's also a great fit for Sinatra.</description>
		<content:encoded><![CDATA[<p>Haml is extremely valuable to speedy implementations of sites because you don&#8217;t get to launch your site with invalid markup, which means you won&#8217;t fight as much with CSS or JavaScript DOM parsing.  That alone is worth the price, and it&#8217;s one of the chief reasons it&#8217;s become so popular.</p>
<p>If you&#8217;re concerned about performance, you need to look at other factors besides view rendering.  On any site where view rendering performance is a concern, you simply implement caching, either fragment or action caching, or even static page caching, which is a good strategy to employ anyway.</p>
<p>Whitespace programming languages have existed for a long time, and they continue to do so because of the fact that you simply cannot get past the compilation stage if you don&#8217;t structure your code properly. Chasing down curly braces or if&#8230;ends in long files (or closing tags) is a lot of wasted time. Considering you read code ten times more than you write it, readability is vital to your success.</p>
<p>One more point: HAML is useful outside of Rails. You can use it to generate static web sites too using the StaticMatic gem. This removes the rendering cost. It&#8217;s also a great fit for Sinatra.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on haml, an objective view by crabtrgr</title>
		<link>http://www.garycrabtree.com/?p=16&#038;cpage=1#comment-4</link>
		<dc:creator>crabtrgr</dc:creator>
		<pubDate>Mon, 01 Jun 2009 18:07:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.garycrabtree.com/?p=16#comment-4</guid>
		<description>I understand your points, this is more of a subjective look at it. I do want to mention that even though you disagree with my arguments, I am assuming this means that you don't disagree with my conclusion as you didn't mention it.

As stated, yes, I personally have a few issues with it, but there was only one real point that I could find about haml objectively, and that was the performance issue. 

As for your question about performance, here is a &lt;a href="http://nex-3.com/posts/dates/2009/4" rel="nofollow"&gt;link&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>I understand your points, this is more of a subjective look at it. I do want to mention that even though you disagree with my arguments, I am assuming this means that you don&#8217;t disagree with my conclusion as you didn&#8217;t mention it.</p>
<p>As stated, yes, I personally have a few issues with it, but there was only one real point that I could find about haml objectively, and that was the performance issue. </p>
<p>As for your question about performance, here is a <a href="http://nex-3.com/posts/dates/2009/4" rel="nofollow">link</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on haml, an objective view by Kevin W. Gisi</title>
		<link>http://www.garycrabtree.com/?p=16&#038;cpage=1#comment-2</link>
		<dc:creator>Kevin W. Gisi</dc:creator>
		<pubDate>Sat, 30 May 2009 06:15:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.garycrabtree.com/?p=16#comment-2</guid>
		<description>I don't think you really make much of an argument here. Your first point references the fact that it breaks a convention that you're familiar with --- which is fine as an argument against personal use. However, with new technology, that will only be avoided in situations where something is 100% backward-compatible. If you wanted to make an argument that ERB is a better tool because it is entirely backward compatible with static html pages, I will fully agree!

As to the second point, it's not fair to use unfamiliarity as an argument against use. Some users may choose not to run Linux because of the lesser documentation and "hold your hand" tech support. However, this is not a reflection on the Linux operating system, but rather a reflection on the capabilities of the user, and what technology best suits them.

All in all, this is a subjective look at Haml, not an objective one. You lay out two good reasons why you --- or another developer with a similar background --- might decide not to use Haml, but only one comment regarding its objective peformance --- the double-rendering.

Can you site the statistics on Haml's performance, because I was under the impression that it performed on par with ERB.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t think you really make much of an argument here. Your first point references the fact that it breaks a convention that you&#8217;re familiar with &#8212; which is fine as an argument against personal use. However, with new technology, that will only be avoided in situations where something is 100% backward-compatible. If you wanted to make an argument that ERB is a better tool because it is entirely backward compatible with static html pages, I will fully agree!</p>
<p>As to the second point, it&#8217;s not fair to use unfamiliarity as an argument against use. Some users may choose not to run Linux because of the lesser documentation and &#8220;hold your hand&#8221; tech support. However, this is not a reflection on the Linux operating system, but rather a reflection on the capabilities of the user, and what technology best suits them.</p>
<p>All in all, this is a subjective look at Haml, not an objective one. You lay out two good reasons why you &#8212; or another developer with a similar background &#8212; might decide not to use Haml, but only one comment regarding its objective peformance &#8212; the double-rendering.</p>
<p>Can you site the statistics on Haml&#8217;s performance, because I was under the impression that it performed on par with ERB.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
