C
Chris Eppstein
chriseppstein.github.com · Personal blog · on HN since 2009
Chris Eppstein, a developer of Sass and Compass, writes about CSS abstraction, stylesheet tooling, and language design.
What HN saysCommenters cite his posts "Haml Sucks for Content" and "Why Stylesheet Abstractions Matter" as clear explanations of when Haml and Sass fit.
17HN people shared it
9linked it in comments
14stories submitted
350story points
14 years agolast shared
2009people per year2026
Most-shared posts
- 1Why Stylesheet Abstractions Matter5 people · 107 points · first shared 2009 · 37 comments on HN
- 2Haml Sucks for Content4 people · 67 points · first shared 2010 · 33 comments on HN
- 3Sass 3.2 makes authoring CSS3 as easy as it will be2 people · 2 points · first shared 2012 · discussion on HN
- 4Vendor Prefixes are an implementation detail. CSS needs a jQuery.1 people · 46 points · first shared 2012 · 2 comments on HN
- 5Compass is Charityware: Free software with a mission1 people · 43 points · first shared 2010 · 2 comments on HN
- 6Sass Language Design: Philosophy & Approach1 people · 30 points · first shared 2010 · 2 comments on HN
- 7Proposal: Hack Free CSS with the @unsupported Directive1 people · 29 points · first shared 2009 · 20 comments on HN
- 8CSS Class Inheritance: Abstracting Selectors1 people · 10 points · first shared 2009 · discussion on HN
- 9Announcing the Stable Release of Compass v0.101 people · 8 points · first shared 2010 · discussion on HN
- 10Refactoring Digg.com's Stylesheets using Sass1 people · 3 points · first shared 2010 · discussion on HN
- 11Building Responsive Layouts with Sass1 people · 2 points · first shared 2011 · discussion on HN
- 12Roadmap to Compass v1.01 people · 1 points · first shared 2010 · discussion on HN
- 13Standardizing Incompatibilities1 people · 1 points · first shared 2012 · discussion on HN
- 14Building Responsive Layouts with Sass1 people · 1 points · first shared 2011 · discussion on HN
- 15Multi line button1 people · first shared 2010
What HN people wrote when they linked it
TrevorBurnham · 2011-06-19
CoffeeKup is great for layouts, but it's very Haml-esque. I think it suffers from many of the issues described in "Haml Sucks for Content" (http://chriseppstein.github.com/blog/2010/02/08/haml-sucks-for-content… Markdown/Textile are really better-suited to a wiki.
mhartl · 2011-06-14
Haml is great for many cases, but it's terrible when the ratio of text to embedded code gets large. Chris Eppstein, one of the developers of Haml, made a blog post to this effect last year:
http://chriseppstein.github.com/blog/2010/02/08/haml-sucks-for-content…
As a result, though I love Haml, I think ERb is a more sensible default.
railsjedi · 2010-11-16
Haml is great for structure, not for content. Chris Eppstein wrote a great post on this that worth reading:
http://chriseppstein.github.com/blog/2010/02/08/haml-sucks-for-content…
wallflower · 2010-07-17
> A similar framework for CSS would be great.
Have you taken a look at Compass/Sass?
http://blog.derekperez.com/tagged/compass-sass-good-to-great
"Why Stylesheet Abstraction Matters"
http://chriseppstein.github.com/blog/2009/09/20/why-stylesheet-abstrac…
oscarduignan · 2010-07-16
Chris Eppstein (develops compass) does a great job breaking down the why (for tools like sass in general) here => http://chriseppstein.github.com/blog/2009/09/20/why-stylesheet-abstrac…
nex3 · 2010-02-03
CSS, although a very cool and powerful language, leaves a lot to be desired in one key area: abstraction. Not coincidentally, this is the area that Sass is best at. Chris Eppstein has an excellent blog post (http://chriseppstein.github.com/blog/2009/09/20/why-stylesheet-abstrac… explaining why abstraction in stylesheets matters.
niclupien · 2013-03-01
I'm a big fan of presentation-free markup and IMHO, SASS offers a good way to achieve it with mixins. Look at this article, it pretty much covers that topic.
http://chriseppstein.github.com/blog/2009/09/20/why-stylesheet-abstrac…
The idea is to get something like this :
@mixin three-column {
.container { @include container; }
.header,
.footer { @include column(24); }
.sidebar { @include column(6); }
article { @include column(10); }
.rightbar { @include column(8); }
}
body#article,
body#snippet,
body#blog-post { @include three-column; }
I describe the whole thing with examples here:
https://github.com/niclupien/compass-examples/wiki/Example-01
ch0wn · 2012-10-16
Chris Eppstein recently wrote a comprehensive article about the changes in Sass 3.2: http://chriseppstein.github.com/blog/2012/08/23/sass-3-2-is-released/