2. (X)HTML is unwieldy
• Repetition
• Closing tags
• id and class everywhere
• Arbitrary formatting
• Indentation not enforced
• Hard to see the structure
• Accident-prone
2
7. What is Haml?
• XHTML Abstraction Markup Language
• Markup that describes XHTML
• Nesting through indentation (like Python)
• Convenient shortcuts for common elements and attributes
• Guiding principle: Markup should be beautiful
6
8. What is Sass?
• CSS compliment to Haml
• Nesting through indentation
• Named constants
• Calculated values
7