Mislav, If the point is that you don't need to worry about it because HAML does, I can see some point to that. I'm sure HAML code is consistent. But I think we should clearly be worried about having easily readable and maintained output. I want to know that my clients can hire any damn web designer they want next year without being tied to an extra technology just because I liked it. That means means my HTML/CSS need to be just as pretty as my HAML/SASS (though I don't actually use the HAML side of that equation).
Self-closing tags aren't "required" in HTML5, but I always thought they made more sense. I keep them in all my HTML5 code (most of what I do these days), and it isn't because I have to validate as XML - it is because it makes the document more readable. On Nov 23, 5:30 pm, Mislav Marohnić <[email protected]> wrote: > On Mon, Nov 23, 2009 at 18:51, ludicco <[email protected]> wrote: > > Again, I'm not sure If I'm missing something about html5 markup style. > > this is just my opinion as HAML could render the tags, helping to > > maintain a 'standard' all over the document > > For me, a great thing about Haml is that there is no "coding style". In your > Haml source there is the syntax that Haml enforces, and nothing more. You > never have to check your output. Why? Because you can be confident that Haml > does the right thing (if you specified the right format). You don't have to > maintain a coding style in your final HTML because you never actually wrote > any HTML. -- You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/haml?hl=en.
