4 ms·
> To the point that now they are all completely obsolete. I _heavily_ disagree that SASS is completely obsolete.
by l30n4da5 5y ago
> To the point that now they are all completely obsolete.
I _heavily_ disagree that SASS is completely obsolete.
- ramesh31 5y ago>I _heavily_ disagree that SASS is completely obsolete I'll die on this hill. PostCSS with transpilation from the future CSS spec has completely obliviated the need for SASS at this point. Everything it doesn't cover that SASS did (i.e mixins, for loops, if/else logic) were objectively bad things to be doing in your stylesheets; the entire point of CSS is to be completely declarative. With native css imports, variables, calc(), and nesting, there's nothing more you need at this point.
- vehemenz 5y agoThere are still plenty of reasons to use SASS. Especially if you need big, engineered stylesheets. Are most people using PostCSS? Are a lot of front-end people married to JavaScript-specific tooling? Because Tailwind does all the same stuff and works anywhere. I mean PostCSS is cool, but I don't see how it's actually better than alternative tools. It just makes CSS easier in one particular aspect, at the expense of others. Like pretty much all tools.
- gwn7 5y ago> It just makes CSS easier in one particular aspect, at the expense of others. Like pretty much all tools. I agree, but what sets PostCSS apart from other tools is its forward compatibility. Which is a reason to opt for it for many people, including me. At the end of the day most people will benefit from having vanilla CSS knowledge anyway regardless of any layer they prefer to use on top of it. SASS is such a layer as well as Tailwind. PostCSS is just tomorrow's CSS. It is to CSS what Babel is to Javascript. So using PostCSS instead of SASS is comparable to using Babel instead of for example CoffeeScript. If one deems that tomorrow's CSS as it currently stands is advanced enough to handle "big, engineered stylesheets", then PostCSS may well be all they need. But I don't think there is a single right answer here.
- l30n4da5 5y ago> But I don't think there is a single right answer here. Sounds like SASS isn't obsolete if that is the case. Saying something is obsolete implies there is _zero_ reason to use it over some other solution.
- gwn7 5y agoI personally think that it is not obsolete. I just happen to not prefer it.