News for hackers. Stuff that matters.
Re:Style like a BOSS. New css preprocessor. by jacobr on Tuesday October 02, 2012 @03:59AM (#4600988)
I love Sass, but CSS preprocessing is not a solved problem, and I can see how this helps if you're using Yandex' BEM principle.

Sass and Stylus both have feature the other one is lacking, and Less has the feature of being able to run in the browser during development.

Maybe we need a CSS preprocessor with regular CSS as a starting point, but with syntactic macros or something.

Re:Style like a BOSS. New css preprocessor. by lvivski on Tuesday October 02, 2012 @04:10AM (#4601020)
BOSS already has regular CSS as a starting point. If you give regular CSS to it's input you get this css in output (with some indentation changes 'caused by parsing process)

Then you can use syntactic sugar: variables, declaration mixins, nesting, arithmetic (with type coercion, by the way)