Re:Don't use css or table layout, use Sass and Compass instead
by chriseppstein on Wednesday February 04, 2009 @11:17PM
(#467085)
I doubt you'll ever return to Sass, but I wanted you to know that we did take away that there's not really a good reason to force 1 style per line. We're going to add support for semi-colon delimited styles on the same line. No one has ever complained about it on the mailing list before...
Re:Don't use css or table layout, use Sass and Compass instead
by gommm on Wednesday February 04, 2009 @11:57PM
(#467114)
Just wanted to thank you chriseppstein for the all the work you've put into Compass and now into Sass
Re:Don't use css or table layout, use Sass and Compass instead
by chriseppstein on Thursday February 05, 2009 @07:08PM
(#469045)
Thanks! It's open source, so, you know, you can put hard work into them too! :-P
Re:Don't use css or table layout, use Sass and Compass instead
by psadauskas on Wednesday February 04, 2009 @04:19PM
(#466517)
Where's the bloat? As mentioned a couple comments up, you can have Sass render the css into a single line CSS file for production. And you render it once, and cache it forever. Same overhead as a css file, maybe even less, because it's auto-minified for you...
Re:Don't use css or table layout, use Sass and Compass instead
by chriseppstein on Wednesday February 04, 2009 @04:39PM
(#466562)
Sass doesn't make you bloat your css, but it does make it easier if you rely heavily on mixins. That said, if you've got a website of any complexity then you're using gzip compression for your static assets, and the compressed file sizes are pretty much identical. In terms of rendering performance, I've not seen any comparisons but anecdotally, I've not noticed any slowdown.
Re:Don't use css or table layout, use Sass and Compass instead
by anatoli on Wednesday February 04, 2009 @07:16PM
(#466796)
Bloat doesn't necessarily mean code size. It could also mean redundant selectors, code that is difficult to maintain, and plethora of other things. As mentioned previously, I'm a front-end web developer, I spend majority of my time coding graphically-heavy designs in CSS and maintaining them, as well as doing JavaScript. In my experience, Sass has been a nightmare.
So far, the only people that I've heard praise Sass are back-end programmers, rather than full-on front-end developers.
Ultimately, yes, you can use whatever the hell you want. But if you're a front-end developer, if you care about your webiste scaling to millions of users, if you care about providing best experience even to dial-up users or users of old PCs / Macs, then you're going to spend the time optimizing everything you can. Sass goes against that and creates bloat. Fine for back-end developers who just want the pain of working with CSS to be over, maybe, but not for front-end developers.
Haml on the other hand is great.