Re:Style like a BOSS. New css preprocessor.
by roryokane on Tuesday October 02, 2012 @04:10AM
(#4601015)
BOSS’s ‘&’ operator’s underscore-adding feature is useful only if you use BEM. BOSS’s other features, such as block nesting and the “darken” function, already exist in other CSS preprocessors. Thus, if you’re not going to use BEM, you have no reason to use BOSS – you should use Stylus or LESS, since they have the same features but have bigger ecosystems.
[ Parent
| on HN ]
Re:Style like a BOSS. New css preprocessor.
by lvivski on Tuesday October 02, 2012 @04:17AM
(#4601038)
In simple cases `&` is just replaces by parent selector (Like in SASS or LESS), only some cases are treated as BEM nesting (pseudo-selector that doesn't exist, etc).
If you use SASS or LESS and happy with them, you don't need BOSS. But you may take a look at it, 'cause it has simpler syntax for mixins and variables, which is more CSSy.
So BOSS is more like a superset to SASS and LESS, their features + some new stuff + simpler syntax.