News for hackers. Stuff that matters.
Re:I Hate Haml by JakeSc on Tuesday November 16, 2010 @02:56PM (#1911368)
Another complaint I have with HAML is its treatment of whitespace. Consider:

    %p
        %span.underlinedText this is underlined
    \.
 
 
This will underline " this is underlined ", with the spaces, which looks messy. You can extrapolate this behavior to even messier cases, but you get my point. HAML's solution is:

    %p
        %span.underlinedText><
            this is underlined
        %span><
            \.
Fun, right? However, I still consider HAML to be a beautiful replacement for raw HTML.

There are no comments on this comment yet.