<?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"
	>
<channel>
	<title>Comments on: DSLs for HTML and CSS - The Future, or Just Plain Wrong?</title>
	<atom:link href="http://morethanseven.net/posts/dsls-for-html-and-css-the-future-or-just-plain-wrong/feed/" rel="self" type="application/rss+xml" />
	<link>http://morethanseven.net/posts/dsls-for-html-and-css-the-future-or-just-plain-wrong/</link>
	<description>Morethanseven is where Gareth Rushgrove plays with the web</description>
	<pubDate>Fri, 16 May 2008 04:45:44 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Link to GHRML</title>
		<link>http://morethanseven.net/posts/dsls-for-html-and-css-the-future-or-just-plain-wrong/#comment-8784</link>
		<dc:creator>Link to GHRML</dc:creator>
		<pubDate>Wed, 14 May 2008 13:09:05 +0000</pubDate>
		<guid isPermaLink="false">http://morethanseven.net/?p=216#comment-8784</guid>
		<description>Whilst HAML itself is closely linked to Ruby and to Rails, there are projects to bring this kind of syntax to other environments - e.g. GHRML is a HAML-like syntax for Python's Genshi markup templates, which can in turn be plugged into Django.</description>
		<content:encoded><![CDATA[<p>Whilst HAML itself is closely linked to Ruby and to Rails, there are projects to bring this kind of syntax to other environments &#8211; e.g. GHRML is a HAML-like syntax for Python&#8217;s Genshi markup templates, which can in turn be plugged into Django.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gareth</title>
		<link>http://morethanseven.net/posts/dsls-for-html-and-css-the-future-or-just-plain-wrong/#comment-8719</link>
		<dc:creator>gareth</dc:creator>
		<pubDate>Mon, 21 Apr 2008 23:06:02 +0000</pubDate>
		<guid isPermaLink="false">http://morethanseven.net/?p=216#comment-8719</guid>
		<description>@James Using new fangled technologies to lure good developers has always been a good idea. But with HAML having something of a marmite effect on web standards developers I'm not sure it's a good thing to include unless you have a big enough pool of really good people to pick from. Or your team standards are already set in stone.</description>
		<content:encoded><![CDATA[<p>@James Using new fangled technologies to lure good developers has always been a good idea. But with HAML having something of a marmite effect on web standards developers I&#8217;m not sure it&#8217;s a good thing to include unless you have a big enough pool of really good people to pick from. Or your team standards are already set in stone.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Darling</title>
		<link>http://morethanseven.net/posts/dsls-for-html-and-css-the-future-or-just-plain-wrong/#comment-8716</link>
		<dc:creator>James Darling</dc:creator>
		<pubDate>Mon, 21 Apr 2008 19:02:12 +0000</pubDate>
		<guid isPermaLink="false">http://morethanseven.net/?p=216#comment-8716</guid>
		<description>Agreed. When involved in hiring for a company that did use HAML, we found it very quick to find some great candidates by simply asking for people using, *or willing to learn*, HAML and also rspec.

It meant that we found developers willing to play and learn with the latest and greatest things, and they knew that we were a company that would be willing to let them use them.</description>
		<content:encoded><![CDATA[<p>Agreed. When involved in hiring for a company that did use HAML, we found it very quick to find some great candidates by simply asking for people using, <strong>or willing to learn</strong>, HAML and also rspec.</p>
<p>It meant that we found developers willing to play and learn with the latest and greatest things, and they knew that we were a company that would be willing to let them use them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Piers Cawley</title>
		<link>http://morethanseven.net/posts/dsls-for-html-and-css-the-future-or-just-plain-wrong/#comment-8667</link>
		<dc:creator>Piers Cawley</dc:creator>
		<pubDate>Tue, 15 Apr 2008 21:28:03 +0000</pubDate>
		<guid isPermaLink="false">http://morethanseven.net/?p=216#comment-8667</guid>
		<description>"Alienate potential hires", or help "winnow out the ones who aren't going to fit"? I suppose it depends on your organization.</description>
		<content:encoded><![CDATA[<p>&#8220;Alienate potential hires&#8221;, or help &#8220;winnow out the ones who aren&#8217;t going to fit&#8221;? I suppose it depends on your organization.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gareth</title>
		<link>http://morethanseven.net/posts/dsls-for-html-and-css-the-future-or-just-plain-wrong/#comment-8665</link>
		<dc:creator>gareth</dc:creator>
		<pubDate>Tue, 15 Apr 2008 08:33:13 +0000</pubDate>
		<guid isPermaLink="false">http://morethanseven.net/?p=216#comment-8665</guid>
		<description>Quick apology to @Brad regarding his quote and it's turn of phrase, blame me for any wrong doing here. Twitter has even less context than email it seems.

Anyway. The heated discussion this issue raised both on Twitter and in the comments here is, I think, my point. I agree with James in general about haml not being for everyone, although I think the number of people it's not for is bigger than you might think. And with that in mind it makes haml difficult to use in a team environment of any size, or one that wants to grow and not alienate potential hires.</description>
		<content:encoded><![CDATA[<p>Quick apology to @Brad regarding his quote and it&#8217;s turn of phrase, blame me for any wrong doing here. Twitter has even less context than email it seems.</p>
<p>Anyway. The heated discussion this issue raised both on Twitter and in the comments here is, I think, my point. I agree with James in general about haml not being for everyone, although I think the number of people it&#8217;s not for is bigger than you might think. And with that in mind it makes haml difficult to use in a team environment of any size, or one that wants to grow and not alienate potential hires.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Darling</title>
		<link>http://morethanseven.net/posts/dsls-for-html-and-css-the-future-or-just-plain-wrong/#comment-8663</link>
		<dc:creator>James Darling</dc:creator>
		<pubDate>Mon, 14 Apr 2008 11:26:27 +0000</pubDate>
		<guid isPermaLink="false">http://morethanseven.net/?p=216#comment-8663</guid>
		<description>HAML and Textile/Markdown are very different things.
Textile and Markdown are mainly formatting templates - Tectile's focus being to make articles easy and safe to format for people who don't know HTML, Markdown the same but for the more technical minded. More a replacement for shitty WYSIWYG editors.

HAML is for clearing the minds of people who create website/applications.
I would actually agree with Brad, it's probably not for him. His job, I believe, really is to dive into the absolute depths of the HTML source, to cater for millions of users. His mind is in the raw source. This isn't a very common job though.

HAML sits for all the people in the middle, of which there are many. They know HTML, they may even know HTML very well. But they don't worry about obscure browser quirks in Netscape 3 or JAWS 6. And at this it does exceptionally well at enabling these people to create better HTML easier.</description>
		<content:encoded><![CDATA[<p>HAML and Textile/Markdown are very different things.<br />
Textile and Markdown are mainly formatting templates &#8211; Tectile&#8217;s focus being to make articles easy and safe to format for people who don&#8217;t know HTML, Markdown the same but for the more technical minded. More a replacement for shitty WYSIWYG editors.</p>
<p>HAML is for clearing the minds of people who create website/applications.<br />
I would actually agree with Brad, it&#8217;s probably not for him. His job, I believe, really is to dive into the absolute depths of the HTML source, to cater for millions of users. His mind is in the raw source. This isn&#8217;t a very common job though.</p>
<p>HAML sits for all the people in the middle, of which there are many. They know HTML, they may even know HTML very well. But they don&#8217;t worry about obscure browser quirks in Netscape 3 or JAWS 6. And at this it does exceptionally well at enabling these people to create better HTML easier.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Piers Cawley</title>
		<link>http://morethanseven.net/posts/dsls-for-html-and-css-the-future-or-just-plain-wrong/#comment-8661</link>
		<dc:creator>Piers Cawley</dc:creator>
		<pubDate>Mon, 14 Apr 2008 09:31:46 +0000</pubDate>
		<guid isPermaLink="false">http://morethanseven.net/?p=216#comment-8661</guid>
		<description>What extra control do you get from writing raw html that you don't get from Haml? The only thing I can think of is that you have to go some way out of your way to generate badly formed HTML from Haml source.

I can't say I'd ever use Haml in a wire protocol though. It's a tool for writing templates in the back end, not something that should ever go over the wire. The comparison isn't really between html and haml, but between html and rhtml (or html.erb, or the HTML + the Perl template toolkit, or whatever else you're using in the backend). In that domain, haml wins big because of its narrow focus. It's not trying to be a general templating framework, just an expressive notation for generating well formed html programatically.</description>
		<content:encoded><![CDATA[<p>What extra control do you get from writing raw html that you don&#8217;t get from Haml? The only thing I can think of is that you have to go some way out of your way to generate badly formed HTML from Haml source.</p>
<p>I can&#8217;t say I&#8217;d ever use Haml in a wire protocol though. It&#8217;s a tool for writing templates in the back end, not something that should ever go over the wire. The comparison isn&#8217;t really between html and haml, but between html and rhtml (or html.erb, or the HTML + the Perl template toolkit, or whatever else you&#8217;re using in the backend). In that domain, haml wins big because of its narrow focus. It&#8217;s not trying to be a general templating framework, just an expressive notation for generating well formed html programatically.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad Wright</title>
		<link>http://morethanseven.net/posts/dsls-for-html-and-css-the-future-or-just-plain-wrong/#comment-8657</link>
		<dc:creator>Brad Wright</dc:creator>
		<pubDate>Sun, 13 Apr 2008 17:18:56 +0000</pubDate>
		<guid isPermaLink="false">http://morethanseven.net/?p=216#comment-8657</guid>
		<description>So, "shitty" was probably harsh, but in the "circle of friends" context that is Twitter, it was fine at the time. Obviously it's not so great for re-publishing verbatim. Lesson learned.

Regardless: to me, markup *is* interesting. I spend a good deal of effort honing my HTML for the end user (because accessibility and optimisation are primary parts of my responsibility), and the level of control I have over hand-coded HTML is vitally important to me. Not to mention that I write the kind of markup that doesn't have as many DIVs as Haml is obviously meant to cater for, so it doesn't end up even that much more concise anyway, since I'm always throwing in additional appropriate attributes (@title or @alt, for example).

As for Sass, well, the indenting saves me virtually nothing as far as typing goes, and makes it all too easy to break the cascade by using incorrect indentation levels.

Again, these tools are solving issues I don't have. About the only moderately compelling argument I've heard here is that it helps defeat malformed-ness issues with abstractions like Textile or Markdown from the end user. In that sense, Haml, while being potentially more useful, actually makes less sense in 90% of applications as it doesn't map as well cognitively to an inexperienced end user's formatting experience. In their experience 2 new lines == a paragraph, for example, and Haml doesn't really help solve this. Which just leaves it good for exchange of HTML-formatted data over something like an API (the other major un-trusted source), and it's not really fit for that as it's not a data exchange format.</description>
		<content:encoded><![CDATA[<p>So, &#8220;shitty&#8221; was probably harsh, but in the &#8220;circle of friends&#8221; context that is Twitter, it was fine at the time. Obviously it&#8217;s not so great for re-publishing verbatim. Lesson learned.</p>
<p>Regardless: to me, markup <strong>is</strong> interesting. I spend a good deal of effort honing my HTML for the end user (because accessibility and optimisation are primary parts of my responsibility), and the level of control I have over hand-coded HTML is vitally important to me. Not to mention that I write the kind of markup that doesn&#8217;t have as many DIVs as Haml is obviously meant to cater for, so it doesn&#8217;t end up even that much more concise anyway, since I&#8217;m always throwing in additional appropriate attributes (@title or @alt, for example).</p>
<p>As for Sass, well, the indenting saves me virtually nothing as far as typing goes, and makes it all too easy to break the cascade by using incorrect indentation levels.</p>
<p>Again, these tools are solving issues I don&#8217;t have. About the only moderately compelling argument I&#8217;ve heard here is that it helps defeat malformed-ness issues with abstractions like Textile or Markdown from the end user. In that sense, Haml, while being potentially more useful, actually makes less sense in 90% of applications as it doesn&#8217;t map as well cognitively to an inexperienced end user&#8217;s formatting experience. In their experience 2 new lines == a paragraph, for example, and Haml doesn&#8217;t really help solve this. Which just leaves it good for exchange of HTML-formatted data over something like an API (the other major un-trusted source), and it&#8217;s not really fit for that as it&#8217;s not a data exchange format.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Piers Cawley</title>
		<link>http://morethanseven.net/posts/dsls-for-html-and-css-the-future-or-just-plain-wrong/#comment-8656</link>
		<dc:creator>Piers Cawley</dc:creator>
		<pubDate>Sat, 12 Apr 2008 22:02:54 +0000</pubDate>
		<guid isPermaLink="false">http://morethanseven.net/?p=216#comment-8656</guid>
		<description>Haml isn't an abstraction. It's an alternative notation that uses fewer characters to express exactly the same semantics. It serves a different purpose to something like Textile, markdown and all the other humane abstractions that are aimed at allowing folks to write things like comments without being obliged to worry about closing tags etc. If used in 'locked down' mode, they also have the advantage of ensuring that the resulting markup, generated from an untrusted source, will be reasonably well formed. Frankly, if you're using any of the humane systems for anything structural, you've got big problems.

Haml maps 1:1 to any well formed HTML. About the only thing it can't do is generate badly formed HTML (unless you're doing something dodgy in the bits where you call out to ruby). I use it not because it's quicker to write but because, once you're over the (short) learning curve, it's easier to read. There's less noise from end tags, it's impossible to indent deceptively and the compactness of the notation means that there's more data ink per page. Haml is not an abstraction (well, not in the sense that Textile is an abstraction), just another notation for the same DOM tree. Don't like it, don't use it, but don't go flinging rhetoric like "Evil" and "shitty" around.

You're welcome to spend mental effort making sure that all those useless bloody closing tags match up if you want, but I'd rather spend my time thinking about something more interesting. Sure, it's easy enough to write HTML the first time in TextMate, but the tools are less wonderful when it comes to &#60;em&#62;changing&#60;/em&#62; that markup.</description>
		<content:encoded><![CDATA[<p>Haml isn&#8217;t an abstraction. It&#8217;s an alternative notation that uses fewer characters to express exactly the same semantics. It serves a different purpose to something like Textile, markdown and all the other humane abstractions that are aimed at allowing folks to write things like comments without being obliged to worry about closing tags etc. If used in &#8216;locked down&#8217; mode, they also have the advantage of ensuring that the resulting markup, generated from an untrusted source, will be reasonably well formed. Frankly, if you&#8217;re using any of the humane systems for anything structural, you&#8217;ve got big problems.</p>
<p>Haml maps 1:1 to any well formed HTML. About the only thing it can&#8217;t do is generate badly formed HTML (unless you&#8217;re doing something dodgy in the bits where you call out to ruby). I use it not because it&#8217;s quicker to write but because, once you&#8217;re over the (short) learning curve, it&#8217;s easier to read. There&#8217;s less noise from end tags, it&#8217;s impossible to indent deceptively and the compactness of the notation means that there&#8217;s more data ink per page. Haml is not an abstraction (well, not in the sense that Textile is an abstraction), just another notation for the same DOM tree. Don&#8217;t like it, don&#8217;t use it, but don&#8217;t go flinging rhetoric like &#8220;Evil&#8221; and &#8220;shitty&#8221; around.</p>
<p>You&#8217;re welcome to spend mental effort making sure that all those useless bloody closing tags match up if you want, but I&#8217;d rather spend my time thinking about something more interesting. Sure, it&#8217;s easy enough to write HTML the first time in TextMate, but the tools are less wonderful when it comes to <em>changing</em> that markup.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad Wright</title>
		<link>http://morethanseven.net/posts/dsls-for-html-and-css-the-future-or-just-plain-wrong/#comment-8655</link>
		<dc:creator>Brad Wright</dc:creator>
		<pubDate>Sat, 12 Apr 2008 13:05:06 +0000</pubDate>
		<guid isPermaLink="false">http://morethanseven.net/?p=216#comment-8655</guid>
		<description>Any website that is genuinely serious about the best possible experience for their users should be using fully-customised HTML aimed at usability, performance, and accessibility. Abstractions will never give you that same quality as hand-tuning, and after writing HTML for 7+ years (and using all the keyboard shortcuts in TextMate for the last few years), I find it trivial and quick to write by hand. Haml would just add a layer of abstraction and offers to solve a problem I don't have.</description>
		<content:encoded><![CDATA[<p>Any website that is genuinely serious about the best possible experience for their users should be using fully-customised HTML aimed at usability, performance, and accessibility. Abstractions will never give you that same quality as hand-tuning, and after writing HTML for 7+ years (and using all the keyboard shortcuts in TextMate for the last few years), I find it trivial and quick to write by hand. Haml would just add a layer of abstraction and offers to solve a problem I don&#8217;t have.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Piers Cawley</title>
		<link>http://morethanseven.net/posts/dsls-for-html-and-css-the-future-or-just-plain-wrong/#comment-8652</link>
		<dc:creator>Piers Cawley</dc:creator>
		<pubDate>Sat, 12 Apr 2008 10:58:15 +0000</pubDate>
		<guid isPermaLink="false">http://morethanseven.net/?p=216#comment-8652</guid>
		<description>@Tom: I'm not sure that that's the fault of textile the notation though - it's not particularly hard to rejig your textile backend to produce the markup you want - either by post processing the generated (x)html or tweaking the tool's generation rules (some implementations make this easier than others). Think of textile as a restricted vocabulary for expressing 'simple' text, if what you want to do is outside textile's scope, then don't use it. 

In the context for which it was designed, Textile is fine, especially when you realise that just because Dean Allen decided that h2. Foo should render as &#60;h2&#62;Foo&#60;/h2&#62; doesn't mean you can't decide that, in your application, it should render as &#60;h2 id="foo"&#62;Foo&#60;/h2&#62;. The separation between a humane notation and its final HTML representation can make things a little more malleable, which is no bad thing.

Actually, without changing Textile at all, you could write h2(#foo). Foo and get an id on the generated tag anyway.</description>
		<content:encoded><![CDATA[<p>@Tom: I&#8217;m not sure that that&#8217;s the fault of textile the notation though &#8211; it&#8217;s not particularly hard to rejig your textile backend to produce the markup you want &#8211; either by post processing the generated (x)html or tweaking the tool&#8217;s generation rules (some implementations make this easier than others). Think of textile as a restricted vocabulary for expressing &#8216;simple&#8217; text, if what you want to do is outside textile&#8217;s scope, then don&#8217;t use it. </p>
<p>In the context for which it was designed, Textile is fine, especially when you realise that just because Dean Allen decided that h2. Foo should render as<br />
<h2>Foo</h2>
<p> doesn&#8217;t mean you can&#8217;t decide that, in your application, it should render as<br />
<h2 id="foo">Foo</h2>
<p>. The separation between a humane notation and its final HTML representation can make things a little more malleable, which is no bad thing.</p>
<p>Actually, without changing Textile at all, you could write h2(#foo). Foo and get an id on the generated tag anyway.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Morris</title>
		<link>http://morethanseven.net/posts/dsls-for-html-and-css-the-future-or-just-plain-wrong/#comment-8651</link>
		<dc:creator>Tom Morris</dc:creator>
		<pubDate>Sat, 12 Apr 2008 10:29:53 +0000</pubDate>
		<guid isPermaLink="false">http://morethanseven.net/?p=216#comment-8651</guid>
		<description>I'm in the process of moving my site over to a system based on Textile and ERB. It's a real nuisance. If I type in "h2. [foo]", that doesn't necessarily mean that I want to have an h2 element containing [foo]. In fact, I want it to have an ID and a hyperlink. So even though I've got Textile, I've ended up writing my own HTML abstraction that turns out markup how I want it to, rather than how the HTML abstraction library wants me to. That's why I don't like them, and prefer using plain old (X)HTML, sometimes through XSLT.</description>
		<content:encoded><![CDATA[<p>I&#8217;m in the process of moving my site over to a system based on Textile and ERB. It&#8217;s a real nuisance. If I type in &#8220;h2. [foo]&#8221;, that doesn&#8217;t necessarily mean that I want to have an h2 element containing [foo]. In fact, I want it to have an ID and a hyperlink. So even though I&#8217;ve got Textile, I&#8217;ve ended up writing my own HTML abstraction that turns out markup how I want it to, rather than how the HTML abstraction library wants me to. That&#8217;s why I don&#8217;t like them, and prefer using plain old (X)HTML, sometimes through XSLT.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Piers Cawley</title>
		<link>http://morethanseven.net/posts/dsls-for-html-and-css-the-future-or-just-plain-wrong/#comment-8645</link>
		<dc:creator>Piers Cawley</dc:creator>
		<pubDate>Fri, 11 Apr 2008 22:59:03 +0000</pubDate>
		<guid isPermaLink="false">http://morethanseven.net/?p=216#comment-8645</guid>
		<description>Personally I'll take Haml notation over HTML because it's so much more concise, and concision is power. That the mapping rules are relatively simple, nesting is way easier to spot and templates get ugly fast in situations where you wantthem to get ugly are just icing on the cake. 

HAML also wins in the "Vertical space is precious" stakes. 

.special#primary Hello, world

is just another way of writing 


  Hello, world


but it does it with way less noise.

When it comes down to it, it's only syntax. If your grasp on the domain is so shaky that you're going to be thrown by a different syntax for expressing exactly the same semantics, then maybe you don't understand what you're doing well enough either. 

Seriously, what's to know about HAML? If you know CSS selectors, can recognize the structure in the indentation and are told that tagnames are specified with %tag, with a %div default, you pretty much know everything about the notation. At least, when it comes to expressing XHTML - if you want to make use of the templating features there's a bit more to learn, but even that's not exactly rocket science.

Personally, I like the way Sass nesting reduces repetition too, and the variable interpolation and calculation features strike me as being sensible too. Names are power, and naming a color for what it _means_ in the context of the site is just a good idea, especially if you might end up with two things having the same colour but for different reasons. The DRY benefits are pretty obvious too.

As always with these things though, mileage varies. Haml is interestingly different from, say, textile are markdown because it's information preserving. In principle, it should be possible to write a tool which can go from well formed xhtml to HAML and back without losing any information and without having to stash any extra information anywhere. When the notations are equivalent in this way, the choice of which one to use becomes a simple matter of taste.</description>
		<content:encoded><![CDATA[<p>Personally I&#8217;ll take Haml notation over HTML because it&#8217;s so much more concise, and concision is power. That the mapping rules are relatively simple, nesting is way easier to spot and templates get ugly fast in situations where you wantthem to get ugly are just icing on the cake. </p>
<p>HAML also wins in the &#8220;Vertical space is precious&#8221; stakes. </p>
<p>.special#primary Hello, world</p>
<p>is just another way of writing </p>
<p>  Hello, world</p>
<p>but it does it with way less noise.</p>
<p>When it comes down to it, it&#8217;s only syntax. If your grasp on the domain is so shaky that you&#8217;re going to be thrown by a different syntax for expressing exactly the same semantics, then maybe you don&#8217;t understand what you&#8217;re doing well enough either. </p>
<p>Seriously, what&#8217;s to know about HAML? If you know CSS selectors, can recognize the structure in the indentation and are told that tagnames are specified with %tag, with a %div default, you pretty much know everything about the notation. At least, when it comes to expressing XHTML &#8211; if you want to make use of the templating features there&#8217;s a bit more to learn, but even that&#8217;s not exactly rocket science.</p>
<p>Personally, I like the way Sass nesting reduces repetition too, and the variable interpolation and calculation features strike me as being sensible too. Names are power, and naming a color for what it <em>means</em> in the context of the site is just a good idea, especially if you might end up with two things having the same colour but for different reasons. The DRY benefits are pretty obvious too.</p>
<p>As always with these things though, mileage varies. Haml is interestingly different from, say, textile are markdown because it&#8217;s information preserving. In principle, it should be possible to write a tool which can go from well formed xhtml to HAML and back without losing any information and without having to stash any extra information anywhere. When the notations are equivalent in this way, the choice of which one to use becomes a simple matter of taste.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Douglas Greenshields</title>
		<link>http://morethanseven.net/posts/dsls-for-html-and-css-the-future-or-just-plain-wrong/#comment-8644</link>
		<dc:creator>Douglas Greenshields</dc:creator>
		<pubDate>Fri, 11 Apr 2008 21:13:45 +0000</pubDate>
		<guid isPermaLink="false">http://morethanseven.net/?p=216#comment-8644</guid>
		<description>My feeling is that abstractions like Haml are a licence for developers to view HTML as less than the lingua franca of the web that it is.  They may be more efficient in particular circumstances but shouldn't be seen as a general replacement.  Haml in particular encourages divitis.

Sass would be pointless if it were just a mapping of CSS to something in Ruby/YAML.  If someone is using it to generate CSS programmatically, that's clearly a different story.  It could be a good way of helping to write really complex CSS files, as you'd have to repeat yourself much less.  But for 98% of uses, what's the point?</description>
		<content:encoded><![CDATA[<p>My feeling is that abstractions like Haml are a licence for developers to view HTML as less than the lingua franca of the web that it is.  They may be more efficient in particular circumstances but shouldn&#8217;t be seen as a general replacement.  Haml in particular encourages divitis.</p>
<p>Sass would be pointless if it were just a mapping of CSS to something in Ruby/YAML.  If someone is using it to generate CSS programmatically, that&#8217;s clearly a different story.  It could be a good way of helping to write really complex CSS files, as you&#8217;d have to repeat yourself much less.  But for 98% of uses, what&#8217;s the point?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Donaldson</title>
		<link>http://morethanseven.net/posts/dsls-for-html-and-css-the-future-or-just-plain-wrong/#comment-8643</link>
		<dc:creator>Andrew Donaldson</dc:creator>
		<pubDate>Fri, 11 Apr 2008 19:09:25 +0000</pubDate>
		<guid isPermaLink="false">http://morethanseven.net/?p=216#comment-8643</guid>
		<description>I don't use SASS myself, but have given it a brief look in the past. I felt that one of the most interesting things about SASS was the customisable output style, which is possible as you are forced to write 'exactly the same CSS but in a' structured data format. That said, it was never a strong enough feature to make me switch from 'raw' CSS. 

Olly touched on the other key benefit; that it makes good markup more accessible to back-end coders. Most non-HTML-coding-coders I've met tend to use HAML or SASS for this reason.

It seems like a nice library, but I actually quite like markup, so I'll stick with that ;)</description>
		<content:encoded><![CDATA[<p>I don&#8217;t use SASS myself, but have given it a brief look in the past. I felt that one of the most interesting things about SASS was the customisable output style, which is possible as you are forced to write &#8216;exactly the same CSS but in a&#8217; structured data format. That said, it was never a strong enough feature to make me switch from &#8216;raw&#8217; CSS. </p>
<p>Olly touched on the other key benefit; that it makes good markup more accessible to back-end coders. Most non-HTML-coding-coders I&#8217;ve met tend to use HAML or SASS for this reason.</p>
<p>It seems like a nice library, but I actually quite like markup, so I&#8217;ll stick with that ;)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
